diff tests/test-git-export @ 3693:454b3a8cdf28

diff: improve detection of renames when diffing across many revisions
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 20 Nov 2006 19:32:35 -0200
parents 751df21dad72
children c0b1a0c72c7d
line wrap: on
line diff
--- a/tests/test-git-export	Mon Nov 20 13:06:04 2006 -0800
+++ b/tests/test-git-export	Mon Nov 20 19:32:35 2006 -0200
@@ -60,3 +60,16 @@
 hg import -mfoo b.diff
 cmp binfile.bin $TESTDIR/binfile.bin
 
+echo
+echo '% diff across many revisions'
+hg mv dst dst2
+hg ci -m 'mv dst dst2' -d '0 0'
+
+echo >> start
+hg ci -m 'change start' -d '0 0'
+
+hg revert -r -2 start
+hg mv dst2 dst3
+hg ci -m 'mv dst2 dst3; revert start' -d '0 0'
+
+hg diff --git -r 9:11