diff tests/test-git-export @ 4092:4ced663bebf0

git patches: handle renames of binary files
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Feb 2007 04:54:46 -0200
parents 70c3ee224c08
children 49237d6ae97d
line wrap: on
line diff
--- a/tests/test-git-export
+++ b/tests/test-git-export
@@ -61,6 +61,11 @@ hg import -mfoo b.diff
 cmp binfile.bin $TESTDIR/binfile.bin
 
 echo
+echo '% rename binary file'
+hg mv binfile.bin renamed.bin
+hg diff --git
+
+echo
 echo '% diff across many revisions'
 hg mv dst dst2
 hg ci -m 'mv dst dst2' -d '0 0'