tests/hghave
changeset 6372 8f79820443a4
parent 6355 3b841c189ab7
child 6384 8bc876e03143
--- a/tests/hghave	Sun Mar 23 21:03:24 2008 -0300
+++ b/tests/hghave	Sun Mar 23 23:18:20 2008 +0100
@@ -33,6 +33,9 @@
 def has_darcs():
     return matchoutput('darcs', 'darcs version', True)
 
+def has_mtn():
+    return matchoutput('mtn --version', 'monotone', True)
+
 def has_eol_in_paths():
     try:
         fd, path = tempfile.mkstemp(prefix=tempprefix, suffix='\n\r')
@@ -125,6 +128,7 @@
     "git": (has_git, "git command line client"),
     "hotshot": (has_hotshot, "python hotshot module"),
     "lsprof": (has_lsprof, "python lsprof module"),
+    "mtn": (has_mtn, "monotone client"),
     "svn": (has_svn, "subversion client and admin tools"),
     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
     "symlink": (has_symlink, "symbolic links"),