tests: test for dispatch on [defaults]: more clearly differing output
Using '-r null' instead of '-v' as the overriden command default.
The latter did not have any effect on output, thus not giving much
indication on whether the modified defaults were really in use or not.
--- a/tests/test-dispatch Wed May 27 16:25:31 2009 +0200
+++ b/tests/test-dispatch Sun May 24 22:15:48 2009 +0200
@@ -15,7 +15,7 @@
hg cat a
cat >> $HGRCPATH <<EOF
[defaults]
-cat = -v
+cat = -r null
EOF
hg cat a
--- a/tests/test-dispatch.out Wed May 27 16:25:31 2009 +0200
+++ b/tests/test-dispatch.out Sun May 24 22:15:48 2009 +0200
@@ -28,6 +28,6 @@
use "hg -v help cat" to show global options
% [defaults]
a
-a
+a: No such file in rev 000000000000
% no repo
abort: There is no Mercurial repository here (.hg not found)!