--- a/testing/hghave.py
+++ b/testing/hghave.py
@@ -56,16 +56,21 @@ def has_hg_31_plus():
v = tuple(hgversion()[0:2])
return v >= (3, 1)
@check('hg32+', 'Running with Mercurial 3.2+')
def has_hg32_plus():
v = tuple(hgversion()[0:2])
return v >= (3, 2)
+@check('hg33+', 'Running with Mercurial 3.3+')
+def has_hg33_plus():
+ v = tuple(hgversion()[0:2])
+ return v >= (3, 3)
+
# Now we reimplement the command line syntax of the CLI hghave script.
failures = 0
def error(msg):
global failures
sys.stderr.write('%s\n' % msg)
failures += 1