##// END OF EJS Templates
basefilectx: move path from filectx
Sean Farley -
r19602:018ee491 default
parent child Browse files
Show More
@@ -514,6 +514,9 b' class basefilectx(object):'
514 def changectx(self):
514 def changectx(self):
515 return self._changectx
515 return self._changectx
516
516
517 def path(self):
518 return self._path
519
517 class filectx(basefilectx):
520 class filectx(basefilectx):
518 """A filecontext object makes access to data related to a particular
521 """A filecontext object makes access to data related to a particular
519 filerevision convenient."""
522 filerevision convenient."""
@@ -571,8 +574,6 b' class filectx(basefilectx):'
571
574
572 def data(self):
575 def data(self):
573 return self._filelog.read(self._filenode)
576 return self._filelog.read(self._filenode)
574 def path(self):
575 return self._path
576 def size(self):
577 def size(self):
577 return self._filelog.size(self._filerev)
578 return self._filelog.size(self._filerev)
578
579
General Comments 0
You need to be logged in to leave comments. Login now