Submitter | phabricator |
---|---|
Date | March 2, 2018, 7:51 p.m. |
Message ID | <2b63ec771495e8188868fe8dc07832b3@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28712/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -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: