# HG changeset patch # User Pierre-Yves David # Date 2017-05-09 13:08:47 # Node ID 5bdceec6387da27483fd63fe87ffc3c15e4a2e3a # Parent b4e1e30528c7282757092bf39519360b15765f28 hghave: prefill more version of Mercurial The previous code was unable to go above version 4.0. diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -247,7 +247,7 @@ def gethgversion(): return (int(m.group(1)), int(m.group(2))) @checkvers("hg", "Mercurial >= %s", - list([(1.0 * x) / 10 for x in range(9, 40)])) + list([(1.0 * x) / 10 for x in range(9, 99)])) def has_hg_range(v): major, minor = v.split('.')[0:2] return gethgversion() >= (int(major), int(minor))