# HG changeset patch # User Pierre-Yves David # Date 1494335327 -7200 # Node ID 5bdceec6387da27483fd63fe87ffc3c15e4a2e3a # Parent b4e1e30528c7282757092bf39519360b15765f28 hghave: prefill more version of Mercurial The previous code was unable to go above version 4.0. diff -r b4e1e30528c7 -r 5bdceec6387d tests/hghave.py --- a/tests/hghave.py Thu May 11 17:18:40 2017 +0200 +++ b/tests/hghave.py Tue May 09 15:08:47 2017 +0200 @@ -247,7 +247,7 @@ 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))