summaryrefslogtreecommitdiff
path: root/tests/test-dispatch.t
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2011-10-01 20:49:36 +0000
committerLorry <lorry@roadtrain.codethink.co.uk>2012-09-27 13:27:51 +0000
commit921ced43c48c1d170452a7b251b94cc96ec8dd44 (patch)
tree3c4a89176ea67fe4c7bf7b375488361a823c95fa /tests/test-dispatch.t
parent9039c805b0a7e36220101323f82735f08a104b37 (diff)
downloadmercurial-tarball-master.tar.gz
Imported from /srv/lorry/lorry-area/mercurial-tarball/mercurial-1.9.3.tar.gz.HEADmercurial-1.9.3master
Diffstat (limited to 'tests/test-dispatch.t')
-rw-r--r--tests/test-dispatch.t19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/test-dispatch.t b/tests/test-dispatch.t
index 3b11d14..ab0f7fb 100644
--- a/tests/test-dispatch.t
+++ b/tests/test-dispatch.t
@@ -1,5 +1,9 @@
test command parsing and dispatch
+ $ "$TESTDIR/hghave" no-outer-repo || exit 80
+
+ $ dir=`pwd`
+
$ hg init a
$ cd a
@@ -21,11 +25,11 @@ Missing arg:
options:
- -o --output FORMAT print output to file with formatted name
- -r --rev REV print the given revision
- --decode apply any matching decode filter
- -I --include PATTERN [+] include names matching the given patterns
- -X --exclude PATTERN [+] exclude names matching the given patterns
+ -o --output FORMAT print output to file with formatted name
+ -r --rev REV print the given revision
+ --decode apply any matching decode filter
+ -I --include PATTERN [+] include names matching the given patterns
+ -X --exclude PATTERN [+] exclude names matching the given patterns
[+] marked option can be specified multiple times
@@ -44,10 +48,6 @@ Missing arg:
a: no such file in rev 000000000000
[1]
- $ cd "$TESTTMP"
-
-#if no-outer-repo
-
No repo:
$ cd $dir
@@ -55,4 +55,3 @@ No repo:
abort: no repository found in '$TESTTMP' (.hg not found)!
[255]
-#endif