hghave: prefill more version of Mercurial stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 09 May 2017 15:08:47 +0200
branchstable
changeset 32206 5bdceec6387d
parent 32205 b4e1e30528c7
child 32207 176ed32dc159
hghave: prefill more version of Mercurial The previous code was unable to go above version 4.0.
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))