--- a/tests/test-diffstat.t Thu Feb 10 15:41:34 2011 +0300
+++ b/tests/test-diffstat.t Fri Feb 04 16:32:14 2011 -0300
@@ -46,3 +46,20 @@
b | Bin
1 files changed, 0 insertions(+), 0 deletions(-)
+ $ hg ci -m createb
+
+ $ printf '\0' > "file with spaces"
+ $ hg add "file with spaces"
+
+Filename with spaces diffstat:
+
+ $ hg diff --stat
+ file with spaces | 0
+ 1 files changed, 0 insertions(+), 0 deletions(-)
+
+Filename with spaces git diffstat:
+
+ $ hg diff --stat --git
+ file with spaces | Bin
+ 1 files changed, 0 insertions(+), 0 deletions(-)
+