Show More
@@ -0,0 +1,25 b'' | |||||
|
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 |
@@ -0,0 +1,24 b'' | |||||
|
1 | % diff -r 0 -r 1 | |||
|
2 | diff -r 48b371597640 -r acea2ab458c8 binfile.bin | |||
|
3 | Binary file binfile.bin has changed | |||
|
4 | % diff -r 0 -r 2 | |||
|
5 | % diff --git -r 0 -r 1 | |||
|
6 | diff --git a/binfile.bin b/binfile.bin | |||
|
7 | index 37ba3d1c6f17137d9c5f5776fa040caf5fe73ff9..58dc31a9e2f40f74ff3b45903f7d620b8e5b7356 | |||
|
8 | GIT binary patch | |||
|
9 | literal 594 | |||
|
10 | zc$@)J0<HatP)<h;3K|Lk000e1NJLTq000mG000mO0ssI2kdbIM00009a7bBm000XU | |||
|
11 | z000XU0RWnu7ytkO2XskIMF-Uh9TW;VpMjwv0005-Nkl<ZD9@FWPs=e;7{<>W$NUkd | |||
|
12 | zX$nnYLt$-$V!?uy+1V%`z&Eh=ah|duER<4|QWhju3gb^nF*8iYobxWG-qqXl=2~5M | |||
|
13 | z*IoDB)sG^CfNuoBmqLTVU^<;@nwHP!1wrWd`{(mHo6VNXWtyh{alzqmsH*yYzpvLT | |||
|
14 | zLdY<T=ks|woh-`&01!ej#(xbV1f|pI*=%;d-%F*E*X#ZH`4I%6SS+$EJDE&ct=8po | |||
|
15 | ziN#{?_j|kD%Cd|oiqds`xm@;oJ-^?NG3Gdqrs?5u*zI;{nogxsx~^|Fn^Y?Gdc6<; | |||
|
16 | zfMJ+iF1J`LMx&A2?dEwNW8ClebzPTbIh{@$hS6*`kH@1d%Lo7fA#}N1)oN7`gm$~V | |||
|
17 | z+wDx#)OFqMcE{s!JN0-xhG8ItAjVkJwEcb`3WWlJfU2r?;Pd%dmR+q@mSri5q9_W- | |||
|
18 | zaR2~ECX?B2w+zELozC0s*6Z~|QG^f{3I#<`?)Q7U-JZ|q5W;9Q8i_=pBuSzunx=U; | |||
|
19 | z9C)5jBoYw9^?EHyQl(M}1OlQcCX>lXB*ODN003Z&P17_@)3Pi=i0wb04<W?v-u}7K | |||
|
20 | zXmmQA+wDgE!qR9o8jr`%=ab_&uh(l?R=r;Tjiqon91I2-hIu?57~@*4h7h9uORK#= | |||
|
21 | gQItJW-{SoTm)8|5##k|m00000NkvXXu0mjf3JwksH2?qr | |||
|
22 | ||||
|
23 | % diff --git -r 0 -r 2 | |||
|
24 | diff --git a/binfile.bin b/binfile.bin |
General Comments 0
You need to be logged in to leave comments.
Login now