##// END OF EJS Templates
basefilectx: move filerev from filectx
Sean Farley -
r19584:fe300e63 default
parent child Browse files
Show More
@@ -477,6 +477,9 b' class basefilectx(object):'
477 def __ne__(self, other):
477 def __ne__(self, other):
478 return not (self == other)
478 return not (self == other)
479
479
480 def filerev(self):
481 return self._filerev
482
480 class filectx(basefilectx):
483 class filectx(basefilectx):
481 """A filecontext object makes access to data related to a particular
484 """A filecontext object makes access to data related to a particular
482 filerevision convenient."""
485 filerevision convenient."""
@@ -532,8 +535,6 b' class filectx(basefilectx):'
532 return filectx(self._repo, self._path, fileid=fileid,
535 return filectx(self._repo, self._path, fileid=fileid,
533 filelog=self._filelog)
536 filelog=self._filelog)
534
537
535 def filerev(self):
536 return self._filerev
537 def filenode(self):
538 def filenode(self):
538 return self._filenode
539 return self._filenode
539 def flags(self):
540 def flags(self):
General Comments 0
You need to be logged in to leave comments. Login now