Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

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

From: cho <hidden>
Date: 2016-06-15 22:43:43

Le Fri, 19 Oct 2007 11:04:12 +1300, Sam Vilain a écrit :
cho wrote:
quoted
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.'

# forgot this, sorry
svn up
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
quoted
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?
It's the same whether I use --follow-parent or --no-follow-parent .
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help