changeset 19548:730fdcaa791d

basectx: move __ne__ from changectx
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 05 Aug 2013 17:00:32 -0500
parents 0537c0cfd87c
children 78155484ae34
files mercurial/context.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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