##// END OF EJS Templates
basefilectx: move __ne__ from filectx
Sean Farley -
r19583:e5074d82 default
parent child Browse files
Show More
@@ -474,6 +474,9 class basefilectx(object):
474 474 except AttributeError:
475 475 return False
476 476
477 def __ne__(self, other):
478 return not (self == other)
479
477 480 class filectx(basefilectx):
478 481 """A filecontext object makes access to data related to a particular
479 482 filerevision convenient."""
@@ -523,9 +526,6 class filectx(basefilectx):
523 526 # considered when solving linkrev issue are on the table.
524 527 return changectx(self._repo.unfiltered(), self._changeid)
525 528
526 def __ne__(self, other):
527 return not (self == other)
528
529 529 def filectx(self, fileid):
530 530 '''opens an arbitrary revision of the file without
531 531 opening a new filelog'''
General Comments 0
You need to be logged in to leave comments. Login now