--- a/mercurial/context.py Sun Aug 11 22:49:03 2013 -0500
+++ b/mercurial/context.py Sun Aug 11 22:49:40 2013 -0500
@@ -474,6 +474,9 @@
except AttributeError:
return False
+ def __ne__(self, other):
+ return not (self == other)
+
class filectx(basefilectx):
"""A filecontext object makes access to data related to a particular
filerevision convenient."""
@@ -523,9 +526,6 @@
# considered when solving linkrev issue are on the table.
return changectx(self._repo.unfiltered(), self._changeid)
- def __ne__(self, other):
- return not (self == other)
-
def filectx(self, fileid):
'''opens an arbitrary revision of the file without
opening a new filelog'''