author | Augie Fackler <augie@google.com> |
Fri, 02 Mar 2018 11:37:41 -0500 | |
changeset 36581 | b755eab7e677 |
parent 36580 | 04e50037d957 |
child 36582 | 27911e0fb50e |
--- a/mercurial/revset.py Fri Mar 02 11:37:21 2018 -0500 +++ b/mercurial/revset.py Fri Mar 02 11:37:41 2018 -0500 @@ -2061,7 +2061,7 @@ try: # fast path for integer revision r = int(t) - if str(r) != t or r not in cl: + if ('%d' % r) != t or r not in cl: raise ValueError revs = [r] except ValueError: