author | Karl Hasselström <kha@treskal.com> | |
Fri, 7 Apr 2006 06:06:09 +0000 (08:06 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 7 Apr 2006 09:11:33 +0000 (02:11 -0700) | ||
commit | e67c66251a41653e3698580410121c9afc46cd1a | |
tree | 9eded12442ab83354eecf3ded2dcfb99bf86e179 | tree | snapshot |
parent | 9760662f1a7a06516ca249a73e5c1a6fb6c0e26e | commit | diff |
git-svnimport: Don't assume that copied files haven't changed
Don't assume that a file that SVN claims was copied from somewhere
else is bit-for-bit identical with its parent, since SVN allows
changes to copied files before they are committed.
Without this fix, such copy-modify-commit operations causes the
imported file to lack the "modify" part -- that is, we get subtle data
corruption.
Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Don't assume that a file that SVN claims was copied from somewhere
else is bit-for-bit identical with its parent, since SVN allows
changes to copied files before they are committed.
Without this fix, such copy-modify-commit operations causes the
imported file to lack the "modify" part -- that is, we get subtle data
corruption.
Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svnimport.perl | diff | blob | history |