##// END OF EJS Templates
basefilectx: move changectx from filectx
Sean Farley -
r19601:f2849076 default
parent child Browse files
Show More
@@ -511,6 +511,8 b' class basefilectx(object):'
511 return self._changectx.phasestr()
511 return self._changectx.phasestr()
512 def manifest(self):
512 def manifest(self):
513 return self._changectx.manifest()
513 return self._changectx.manifest()
514 def changectx(self):
515 return self._changectx
514
516
515 class filectx(basefilectx):
517 class filectx(basefilectx):
516 """A filecontext object makes access to data related to a particular
518 """A filecontext object makes access to data related to a particular
@@ -567,9 +569,6 b' class filectx(basefilectx):'
567 return filectx(self._repo, self._path, fileid=fileid,
569 return filectx(self._repo, self._path, fileid=fileid,
568 filelog=self._filelog)
570 filelog=self._filelog)
569
571
570 def changectx(self):
571 return self._changectx
572
573 def data(self):
572 def data(self):
574 return self._filelog.read(self._filenode)
573 return self._filelog.read(self._filenode)
575 def path(self):
574 def path(self):
General Comments 0
You need to be logged in to leave comments. Login now