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

Re: [BUG] git-svn not following svn moves

From
Sam Vilain <sam@vilain.net>
Date
Oct 18, 2007, 22:04 UTC
Message-ID
<4717D85C.9050805@vilain.net>
In-Reply-To
<ff7m2j$2eu$2@ger.gmane.org>
cho wrote:
Show 28 quoted lines
> I've surprised myself but yes, there is a simple testcase.
> 
> svnadmin create repo
> svn checkout file://$PWD/repo checkout
> cd checkout/
> svn mkdir trunk tags branches
> svn ci -m 'Standard svn layout.'
> cd trunk/
> svn mkdir doc
> touch doc/README
> svn add doc/README
> svn ci -m 'Add README.'
> cd ..
> svn mv trunk/ branches/oldtrunk
> svn ci -m 'Moved trunk.'
> svn mkdir trunk
> svn ci -m 'New trunk.'
> cd trunk/
> touch THIS_IS_THE_NEW_TRUNK
> svn add THIS_IS_THE_NEW_TRUNK
> svn ci -m 'Add marker.'
> cd ../..
> git svn clone file://$PWD/repo --stdlayout git-clone
> cd git-clone/
> tree
> 
> So the testcase basically involves moving the trunk.
> git-svn gets very confused and keeps a mixture of the old and new trunk.
Were you using --follow-parent or not?
Sam.
Previous: choNext: cho
Message 4 of 7 in “[BUG] git-svn not following svn moves”
  1. choOct 18, 2007
  2. Peter BaumannOct 18, 2007
  3. choOct 18, 2007
  4. Sam VilainOct 18, 2007
  5. choOct 19, 2007
  6. choOct 19, 2007
  7. choOct 19, 2007

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.