stablerange: drop __repr__
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 22 Mar 2017 19:25:12 +0100
changeset 2178 67a511b6b3aa
parent 2177 61c52915d12b
child 2179 97d342655cd1
stablerange: drop __repr__ IT was used for debug and the class is on it way out.
hgext3rd/evolve/stablerange.py
--- a/hgext3rd/evolve/stablerange.py	Wed Mar 22 19:23:32 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py	Wed Mar 22 19:25:12 2017 +0100
@@ -349,10 +349,6 @@
             self._revs = revs
         assert index < self._depth, (head, index, self._depth, revs)
 
-    def __repr__(self):
-        nodehead = self._repo.changelog.node(self[0])
-        return '%s %d %d %s' % (nodemod.short(nodehead), self._depth, self[1], nodemod.short(self.obshash))
-
     def __hash__(self):
         return self._id