changeset 6469 | fb502719c75c |
parent 6468 | af2edc9c5bb9 |
child 6509 | 5279848424e7 |
--- a/mercurial/commands.py Fri Apr 04 22:18:38 2008 +0200 +++ b/mercurial/commands.py Fri Apr 04 22:41:17 2008 +0200 @@ -1047,6 +1047,9 @@ self.colstart = colstart self.colend = colend + def __hash__(self): + return hash((self.linenum, self.line)) + def __eq__(self, other): return self.line == other.line