Show More
@@ -26,6 +26,8 b' class changectx(object):' | |||||
26 | self._rev = changeid |
|
26 | self._rev = changeid | |
27 | self._node = repo.changelog.node(changeid) |
|
27 | self._node = repo.changelog.node(changeid) | |
28 | return |
|
28 | return | |
|
29 | if isinstance(changeid, long): | |||
|
30 | changeid = str(changeid) | |||
29 | if changeid == '.': |
|
31 | if changeid == '.': | |
30 | self._node = repo.dirstate.p1() |
|
32 | self._node = repo.dirstate.p1() | |
31 | self._rev = repo.changelog.rev(self._node) |
|
33 | self._rev = repo.changelog.rev(self._node) |
General Comments 0
You need to be logged in to leave comments.
Login now