changeset 4748 | 8808ea7da86b |
parent 4663 | 6b2e8cb39583 |
child 4856 | e45c5120ca27 |
--- a/mercurial/context.py Wed Jul 04 09:20:56 2007 +0200 +++ b/mercurial/context.py Thu Jul 05 13:34:18 2007 -0500 @@ -40,6 +40,9 @@ except AttributeError: return False + def __ne__(self, other): + return not (self == other) + def __nonzero__(self): return self._rev != nullrev @@ -185,6 +188,9 @@ except AttributeError: return False + def __ne__(self, other): + return not (self == other) + def filectx(self, fileid): '''opens an arbitrary revision of the file without opening a new filelog'''