##// END OF EJS Templates
basefilectx: move filelog from filectx
Sean Farley -
r19587:b1c344eb default
parent child Browse files
Show More
@@ -483,6 +483,8 b' class basefilectx(object):'
483 return self._filenode
483 return self._filenode
484 def flags(self):
484 def flags(self):
485 return self._changectx.flags(self._path)
485 return self._changectx.flags(self._path)
486 def filelog(self):
487 return self._filelog
486
488
487 class filectx(basefilectx):
489 class filectx(basefilectx):
488 """A filecontext object makes access to data related to a particular
490 """A filecontext object makes access to data related to a particular
@@ -539,8 +541,6 b' class filectx(basefilectx):'
539 return filectx(self._repo, self._path, fileid=fileid,
541 return filectx(self._repo, self._path, fileid=fileid,
540 filelog=self._filelog)
542 filelog=self._filelog)
541
543
542 def filelog(self):
543 return self._filelog
544 def rev(self):
544 def rev(self):
545 return self._changeid
545 return self._changeid
546 def linkrev(self):
546 def linkrev(self):
General Comments 0
You need to be logged in to leave comments. Login now