Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-diff-binary-file @ 4107:226df1808f16
merge with crew-stable
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 20 Feb 2007 20:55:23 +0100 |
parents | 0934fef871f3 |
children |
comparison
equal
deleted
inserted
replaced
4101:e2ed92f4c0f7 | 4107:226df1808f16 |
---|---|
1 #!/bin/sh | |
2 | |
3 hg init a | |
4 cd a | |
5 cp $TESTDIR/binfile.bin . | |
6 hg add binfile.bin | |
7 hg ci -m 'add binfile.bin' -d '0 0' | |
8 | |
9 echo >> binfile.bin | |
10 hg ci -m 'change binfile.bin' -d '0 0' | |
11 | |
12 hg revert -r 0 binfile.bin | |
13 hg ci -m 'revert binfile.bin' -d '0 0' | |
14 | |
15 echo % diff -r 0 -r 1 | |
16 hg diff --nodates -r 0 -r 1 | |
17 | |
18 echo % diff -r 0 -r 2 | |
19 hg diff --nodates -r 0 -r 2 | |
20 | |
21 echo % diff --git -r 0 -r 1 | |
22 hg diff --git -r 0 -r 1 | |
23 | |
24 echo % diff --git -r 0 -r 2 | |
25 hg diff --git -r 0 -r 2 |