stablerange: stop using '.node' in __repr__
This remove the last user to this method.
--- a/hgext3rd/evolve/stablerange.py Wed Mar 22 17:33:41 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 17:35:08 2017 +0100
@@ -348,7 +348,8 @@
assert index < self.depth, (head, index, self.depth, revs)
def __repr__(self):
- return '%s %d %d %s' % (nodemod.short(self.node), self.depth, self.index, nodemod.short(self.obshash))
+ nodehead = self._repo.changelog.node(self.head)
+ return '%s %d %d %s' % (nodemod.short(nodehead), self.depth, self.index, nodemod.short(self.obshash))
def __hash__(self):
return self._id