Submitter | phabricator |
---|---|
Date | March 31, 2018, 10:18 a.m. |
Message ID | <af33d41b1619b053e8a0117cfcffcae6@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/30054/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -419,8 +419,6 @@ self._node = repo.changelog.node(changeid) self._rev = changeid return - if not pycompat.ispy3 and isinstance(changeid, long): - changeid = "%d" % changeid if changeid == 'null': self._node = nullid self._rev = nullrev