1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-18 06:54:55 +01:00
git/contrib/git-svn
Eric Wong ce4c8b24a1 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 <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-03 15:07:12 -08:00
..
t contrib/git-svn: use refs/remotes/git-svn instead of git-svn-HEAD 2006-03-02 00:01:36 -08:00
.gitignore contrib/git-svn: add Makefile, test, and associated ignores 2006-02-20 13:32:42 -08:00
git-svn.perl contrib/git-svn: fix a copied-tree bug in an overzealous assertion 2006-03-03 15:07:12 -08:00
git-svn.txt contrib/git-svn: better documenting of CLI switches 2006-03-03 11:27:30 -08:00
Makefile contrib/git-svn: add Makefile, test, and associated ignores 2006-02-20 13:32:42 -08:00