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