equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 hg init repo |
3 hg init repo |
4 cd repo |
4 cd repo |
5 i=0; while (( $i < 213 )); do echo a >> a; i=$(($i + 1)); done |
5 i=0; while [ "$i" -lt 213 ]; do echo a >> a; i=$(($i + 1)); done |
6 hg add a |
6 hg add a |
7 |
7 |
8 echo '% wide diffstat' |
8 echo '% wide diffstat' |
9 hg diff --stat |
9 hg diff --stat |
10 |
10 |
22 echo '% narrow diffstat' |
22 echo '% narrow diffstat' |
23 hg diff --stat |
23 hg diff --stat |
24 |
24 |
25 hg ci -m appenda |
25 hg ci -m appenda |
26 |
26 |
27 printf '%b' '\x00' > b |
27 printf '\0' > b |
28 hg add b |
28 hg add b |
29 |
29 |
30 echo '% binary diffstat' |
30 echo '% binary diffstat' |
31 hg diff --stat |
31 hg diff --stat |
32 |
32 |