Show More
@@ -33,6 +33,7 b' from . import (' | |||||
33 | obsolete as obsmod, |
|
33 | obsolete as obsmod, | |
34 | patch, |
|
34 | patch, | |
35 | phases, |
|
35 | phases, | |
|
36 | pycompat, | |||
36 | repoview, |
|
37 | repoview, | |
37 | revlog, |
|
38 | revlog, | |
38 | scmutil, |
|
39 | scmutil, | |
@@ -419,7 +420,7 b' class changectx(basectx):' | |||||
419 | self._node = repo.changelog.node(changeid) |
|
420 | self._node = repo.changelog.node(changeid) | |
420 | self._rev = changeid |
|
421 | self._rev = changeid | |
421 | return |
|
422 | return | |
422 | if isinstance(changeid, long): |
|
423 | if not pycompat.ispy3 and isinstance(changeid, long): | |
423 | changeid = str(changeid) |
|
424 | changeid = str(changeid) | |
424 | if changeid == 'null': |
|
425 | if changeid == 'null': | |
425 | self._node = nullid |
|
426 | self._node = nullid |
General Comments 0
You need to be logged in to leave comments.
Login now