Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
4091:3d7480ada3e5 | 4092:4ced663bebf0 |
---|---|
57 echo '% import binary diff' | 57 echo '% import binary diff' |
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 | |
63 echo | |
64 echo '% rename binary file' | |
65 hg mv binfile.bin renamed.bin | |
66 hg diff --git | |
62 | 67 |
63 echo | 68 echo |
64 echo '% diff across many revisions' | 69 echo '% diff across many revisions' |
65 hg mv dst dst2 | 70 hg mv dst dst2 |
66 hg ci -m 'mv dst dst2' -d '0 0' | 71 hg ci -m 'mv dst dst2' -d '0 0' |