# HG changeset patch # User Pierre-Yves David <pierre-yves.da...@octobus.net> # Date 1494335327 -7200 # Tue May 09 15:08:47 2017 +0200 # Branch stable # Node ID 7a61f40a4fada0ccadc65d9e6c8fae4483f00b85 # Parent bb96d4a497432722623ae60d9bc734a1e360179e # EXP-Topic hghave # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ # hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 7a61f40a4fad 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)) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel