tests/test-alias.t
branchstable
changeset 23934 975c4fc4a512
parent 23400 3bd577a3283e
child 24222 02d7b5cd373b
--- a/tests/test-alias.t	Thu Jan 22 00:03:58 2015 +0900
+++ b/tests/test-alias.t	Thu Jan 22 00:07:06 2015 +0900
@@ -525,3 +525,12 @@
   [1]
   $ hg exit1
   [1]
+
+#if no-outer-repo
+  $ hg root
+  abort: no repository found in '$TESTTMP' (.hg not found)!
+  [255]
+  $ hg --config alias.hgroot='!hg root' hgroot
+  abort: no repository found in '$TESTTMP' (.hg not found)!
+  [255]
+#endif