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