Mercurial > hg-stable
changeset 29870:a5ce381a8da0
hghave: make bzr checks stricter
My bzr does not have bzrlib.revisionspec.RevisionSpec,
and thus tests were failing because convert refused to believe in bzr,
but hghave without this change thought it was available.
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 25 Aug 2016 22:51:39 +0000 |
parents | 80c11c1a64bf |
children | b05a3a04f046 |
files | tests/hghave.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Mon Aug 22 19:50:21 2016 -0700 +++ b/tests/hghave.py Thu Aug 25 22:51:39 2016 +0000 @@ -110,6 +110,10 @@ def has_bzr(): try: import bzrlib + import bzrlib.bzrdir + import bzrlib.errors + import bzrlib.revision + import bzrlib.revisionspec.RevisionSpec return bzrlib.__doc__ is not None except ImportError: return False