author | Sean Farley <sean.michael.farley@gmail.com> |
Mon, 05 Aug 2013 17:00:32 -0500 | |
changeset 19548 | 730fdcaa791d |
parent 19547 | 0537c0cfd87c |
child 19549 | 78155484ae34 |
--- a/mercurial/context.py Mon Aug 05 17:00:09 2013 -0500 +++ b/mercurial/context.py Mon Aug 05 17:00:32 2013 -0500 @@ -50,6 +50,9 @@ except AttributeError: return False + def __ne__(self, other): + return not (self == other) + def rev(self): return self._rev def node(self): @@ -168,9 +171,6 @@ except AttributeError: return id(self) - def __ne__(self, other): - return not (self == other) - def __nonzero__(self): return self._rev != nullrev