Mercurial > hg
diff tests/hghave @ 8126:13b36eb14324
convert/bzr: handle files replaced by directories (issue1623)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 23 Apr 2009 15:07:05 +0200 |
parents | 11efa41037e2 |
children | 17ab4dab50a6 |
line wrap: on
line diff
--- a/tests/hghave Thu Apr 23 08:45:44 2009 +0200 +++ b/tests/hghave Thu Apr 23 15:07:05 2009 +0200 @@ -31,6 +31,14 @@ except ImportError: return False +def has_bzr114(): + try: + import bzrlib + return (bzrlib.__doc__ != None + and bzrlib.version_info[:2] == (1, 14)) + except ImportError: + return False + def has_cvs(): re = r'Concurrent Versions System.*?server' return matchoutput('cvs --version 2>&1', re) @@ -163,6 +171,7 @@ checks = { "baz": (has_baz, "GNU Arch baz client"), "bzr": (has_bzr, "Canonical's Bazaar client"), + "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"), "cvs": (has_cvs, "cvs client/server"), "cvsps": (has_cvsps, "cvsps utility"), "darcs": (has_darcs, "darcs client"),