changeset 32122:5bdceec6387d stable

hghave: prefill more version of Mercurial The previous code was unable to go above version 4.0.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 09 May 2017 15:08:47 +0200
parents b4e1e30528c7
children 176ed32dc159
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))