Mercurial > public > mercurial-scm > hg
diff mercurial/revset.py @ 49972:1bd33932713d
branching: merge with stable
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 31 Jan 2023 11:41:59 +0100 |
parents | f632b9e1e047 76c128d4de4e |
children | 92f71d40fc1d |
line wrap: on
line diff
--- a/mercurial/revset.py Thu Apr 29 22:01:04 2021 +0200 +++ b/mercurial/revset.py Tue Jan 31 11:41:59 2023 +0100 @@ -10,7 +10,6 @@ import functools import random import re -import sys from .i18n import _ from .pycompat import getattr @@ -2352,7 +2351,7 @@ return subset & s.filter(filter, condrepr=b'<roots>') -MAXINT = sys.maxsize +MAXINT = (1 << 31) - 1 MININT = -MAXINT - 1