tests/hghave
changeset 9326 b236f34ec1e9
parent 9244 3f52a70959ce
child 9395 163e79e2ed5f
--- a/tests/hghave	Wed Aug 05 22:52:35 2009 -0700
+++ b/tests/hghave	Thu Aug 06 21:35:25 2009 -0700
@@ -51,7 +51,7 @@
     return matchoutput('cvsps -h -q 2>&1', r'cvsps version', True)
 
 def has_darcs():
-    return matchoutput('darcs', r'darcs version', True)
+    return matchoutput('darcs --version', r'2\.[2-9]', True)
 
 def has_mtn():
     return matchoutput('mtn --version', r'monotone', True) and not matchoutput(