tests/hghave
changeset 7429 dbc40381620e
parent 7315 408cf9eb9e5d
child 7773 607de5bd3578
--- a/tests/hghave	Thu Nov 27 00:57:30 2008 +0100
+++ b/tests/hghave	Thu Nov 27 00:57:31 2008 +0100
@@ -154,6 +154,9 @@
     except ImportError:
         return False
 
+def has_outer_repo():
+    return matchoutput('hg root 2>&1', r'')
+
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
     "bzr": (has_bzr, "Canonical's Bazaar client"),
@@ -169,6 +172,7 @@
     "inotify": (has_inotify, "inotify extension support"),
     "lsprof": (has_lsprof, "python lsprof module"),
     "mtn": (has_mtn, "monotone client (> 0.31)"),
+    "outer-repo": (has_outer_repo, "outer repo"),
     "pygments": (has_pygments, "Pygments source highlighting library"),
     "svn": (has_svn, "subversion client and admin tools"),
     "svn-bindings": (has_svn_bindings, "subversion python bindings"),