D5088: hghave: add pyXY features for Python version numbers
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sun Oct 14 18:10:20 EDT 2018
indygreg added a comment.
In https://phab.mercurial-scm.org/D5088#76278, @durin42 wrote:
> Is there a way for me to specify something like "<=3.5" and "3.6<=" or similar?
Adding `no-` to the capability name will invert the condition. e.g. 3.5 will test false for `no-py27` and `no-py35` and true for `no-py36` and `no-py37`.
If that is too confusing (I can make an argument it is), we could add a 2nd hghave series for the `<=` check. Say `pymax27`, `pymax36` etc.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5088
To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel
More information about the Mercurial-devel
mailing list