equal
deleted
inserted
replaced
417 try: |
417 try: |
418 if isinstance(changeid, int): |
418 if isinstance(changeid, int): |
419 self._node = repo.changelog.node(changeid) |
419 self._node = repo.changelog.node(changeid) |
420 self._rev = changeid |
420 self._rev = changeid |
421 return |
421 return |
422 if not pycompat.ispy3 and isinstance(changeid, long): |
|
423 changeid = "%d" % changeid |
|
424 if changeid == 'null': |
422 if changeid == 'null': |
425 self._node = nullid |
423 self._node = nullid |
426 self._rev = nullrev |
424 self._rev = nullrev |
427 return |
425 return |
428 if changeid == 'tip': |
426 if changeid == 'tip': |