##// END OF EJS Templates
context: work around `long` not existing on Python 3...
Augie Fackler -
r31343:ff2f9050 default
parent child Browse files
Show More
@@ -33,6 +33,7 b' from . import ('
33 33 obsolete as obsmod,
34 34 patch,
35 35 phases,
36 pycompat,
36 37 repoview,
37 38 revlog,
38 39 scmutil,
@@ -419,7 +420,7 b' class changectx(basectx):'
419 420 self._node = repo.changelog.node(changeid)
420 421 self._rev = changeid
421 422 return
422 if isinstance(changeid, long):
423 if not pycompat.ispy3 and isinstance(changeid, long):
423 424 changeid = str(changeid)
424 425 if changeid == 'null':
425 426 self._node = nullid
General Comments 0
You need to be logged in to leave comments. Login now