From: Eric Wong Date: Fri, 3 Mar 2006 21:35:48 +0000 (-0800) Subject: contrib/git-svn: fix a copied-tree bug in an overzealous assertion X-Git-Tag: v1.3.0-rc1~65 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=ce4c8b24a1efcf155c076d54a7e239251504f669;hp=ce4c8b24a1efcf155c076d54a7e239251504f669;p=git.git contrib/git-svn: fix a copied-tree bug in an overzealous assertion I thought passing --stop-on-copy to svn would save us from all the trouble svn-arch-mirror had with directory (project) copies. I was wrong, there was one thing I overlooked. If a tree was moved from /foo/trunk to /bar/foo/trunk with no other changes in r10, but the last change was done in r5, the Last Changed Rev (from svn info) in /bar/foo/trunk will still be r5, even though the copy in the repository didn't exist until r10. Now, if we ever detect that the Last Changed Rev isn't what we're expecting, we'll run svn diff and only croak if there are differences between them. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano ---