comparison 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
comparison
equal deleted inserted replaced
3692:49136e90517b 3693:454b3a8cdf28
58 hg revert binfile.bin 58 hg revert binfile.bin
59 rm binfile.bin 59 rm binfile.bin
60 hg import -mfoo b.diff 60 hg import -mfoo b.diff
61 cmp binfile.bin $TESTDIR/binfile.bin 61 cmp binfile.bin $TESTDIR/binfile.bin
62 62
63 echo
64 echo '% diff across many revisions'
65 hg mv dst dst2
66 hg ci -m 'mv dst dst2' -d '0 0'
67
68 echo >> start
69 hg ci -m 'change start' -d '0 0'
70
71 hg revert -r -2 start
72 hg mv dst2 dst3
73 hg ci -m 'mv dst2 dst3; revert start' -d '0 0'
74
75 hg diff --git -r 9:11