tests/hghave
changeset 7053 209ef5f3534c
parent 6998 ddfcefab8b97
child 7061 8b874f8cd29f
--- a/tests/hghave	Sat Sep 27 10:11:31 2008 +0200
+++ b/tests/hghave	Fri Sep 26 20:33:47 2008 +0200
@@ -24,6 +24,9 @@
 def has_baz():
     return matchoutput('baz --version 2>&1', r'baz Bazaar version')
 
+def has_bzr():
+    return matchoutput('bzr --version 2>&1', r'Bazaar \(bzr\)')
+
 def has_cvs():
     re = r'Concurrent Versions System.*?server'
     return matchoutput('cvs --version 2>&1', re)
@@ -146,6 +149,7 @@
 
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
+    "bzr": (has_bzr, "Canonical's Bazaar client"),
     "cvs": (has_cvs, "cvs client/server"),
     "cvsps": (has_cvsps, "cvsps utility"),
     "darcs": (has_darcs, "darcs client"),