summaryrefslogtreecommitdiff
path: root/tests/test-diffstat.t
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-27 14:30:31 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-27 14:30:31 +0100
commit4b0aa73b8c69bd5b7521337809f7bc4714209a5a (patch)
tree75f4c36771caf222280249cd1ed611d5ade8bd48 /tests/test-diffstat.t
parent59a96880b5d035db83067acda8345497c75d7716 (diff)
parent921ced43c48c1d170452a7b251b94cc96ec8dd44 (diff)
downloadmercurial-tarball-4b0aa73b8c69bd5b7521337809f7bc4714209a5a.tar.gz
Merge remote-tracking branch 'origin/master' into baserock/morphbaserock/morph
This changes us to 1.9.3 which might stand a better chance of being usable by Lorry. We also undo the setup.py change because python now supports bz2
Diffstat (limited to 'tests/test-diffstat.t')
-rw-r--r--tests/test-diffstat.t15
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/test-diffstat.t b/tests/test-diffstat.t
index 5d03cdc..2f20d3d 100644
--- a/tests/test-diffstat.t
+++ b/tests/test-diffstat.t
@@ -35,32 +35,30 @@ Narrow diffstat:
$ hg ci -m appenda
- >>> open("c", "wb").write("\0")
- $ touch d
- $ hg add c d
+ $ printf '\0' > c
+ $ hg add c
Binary diffstat:
$ hg diff --stat
- c | Bin
+ c | 0
1 files changed, 0 insertions(+), 0 deletions(-)
Binary git diffstat:
$ hg diff --stat --git
c | Bin
- d | 0
- 2 files changed, 0 insertions(+), 0 deletions(-)
+ 1 files changed, 0 insertions(+), 0 deletions(-)
$ hg ci -m createb
- >>> open("file with spaces", "wb").write("\0")
+ $ printf '\0' > "file with spaces"
$ hg add "file with spaces"
Filename with spaces diffstat:
$ hg diff --stat
- file with spaces | Bin
+ file with spaces | 0
1 files changed, 0 insertions(+), 0 deletions(-)
Filename with spaces git diffstat:
@@ -69,4 +67,3 @@ Filename with spaces git diffstat:
file with spaces | Bin
1 files changed, 0 insertions(+), 0 deletions(-)
- $ cd ..