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.
--- 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