##// END OF EJS Templates
basefilectx: move branch from filectx
Sean Farley -
r19596:9bc3d0de default
parent child Browse files
Show More
@@ -501,6 +501,8 b' class basefilectx(object):'
501 501 return self._changectx.files()
502 502 def description(self):
503 503 return self._changectx.description()
504 def branch(self):
505 return self._changectx.branch()
504 506
505 507 class filectx(basefilectx):
506 508 """A filecontext object makes access to data related to a particular
@@ -557,8 +559,6 b' class filectx(basefilectx):'
557 559 return filectx(self._repo, self._path, fileid=fileid,
558 560 filelog=self._filelog)
559 561
560 def branch(self):
561 return self._changectx.branch()
562 562 def extra(self):
563 563 return self._changectx.extra()
564 564 def phase(self):
General Comments 0
You need to be logged in to leave comments. Login now