Submitter | Augie Fackler |
---|---|
Date | March 12, 2017, 6:57 p.m. |
Message ID | <f3120d2bdfa4d1b82b58.1489345062@augie-macbookair2.roam.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/19201/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -454,7 +454,7 @@ class changectx(basectx): try: r = int(changeid) - if str(r) != changeid: + if '%d' % r != changeid: raise ValueError l = len(repo.changelog) if r < 0: