git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn v1 layout migration even though there was no git-svn layout

From
JOJörg Olschewski <jo@bitvalve.org>
Date
Jun 19, 2012, 19:43 UTC
Message-ID
<4FE0D670.5000504@bitvalve.org>

Sometimes I accidentally try to fetch changes by doing a "git-svn fetch" in a git repository that is not connected to any SVN repository. Then git tells me that data from a previous version of git-svn exists, and migrates to a new git-svn layout. I think this is unexpected and unintended behavior and thus I consider this to be a bug.

How to reproduce:
   $ git init tmp && cd tmp && git svn fetch
   Initialized empty Git repository in /home/jo/tmp/.git/
   Migrating from a git-svn v1 layout...
   Data from a previous version of git-svn exists, but
       .git/svn
       (required for this version (1.7.11) of git-svn) does not exist.
   Done migrating from a git-svn v1 layout
   [svn-remote "svn"] unknown
   $

I would expect some output like "this is not a git-svn layout", but maybe I miss a point here?

Best regards Jörg

Message 1 of 1 in “git-svn v1 layout migration even though there was no git-svn layout”
  1. Jörg OlschewskiJun 19, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.