Mercurial > evolve
changeset 2178:67a511b6b3aa
stablerange: drop __repr__
IT was used for debug and the class is on it way out.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 22 Mar 2017 19:25:12 +0100 |
parents | 61c52915d12b |
children | 97d342655cd1 |
files | hgext3rd/evolve/stablerange.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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