changeset 8637:c88c8d59979f

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.
author Cédric Duval <cedricduval@free.fr>
date Sun, 24 May 2009 22:15:48 +0200
parents 7aa1526d4fc5
children c6483eec6092
files tests/test-dispatch tests/test-dispatch.out
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-dispatch
+++ b/tests/test-dispatch
@@ -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
+++ b/tests/test-dispatch.out
@@ -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)!