##// END OF EJS Templates
context: add manifestctx property on changectx...
Durham Goode -
r30344:362f6f65 default
parent child Browse files
Show More
@@ -178,6 +178,8 b' class basectx(object):'
178 178 return hex(self.node())
179 179 def manifest(self):
180 180 return self._manifest
181 def manifestctx(self):
182 return self._manifestctx
181 183 def repo(self):
182 184 return self._repo
183 185 def phasestr(self):
@@ -530,12 +532,15 b' class changectx(basectx):'
530 532
531 533 @propertycache
532 534 def _manifest(self):
533 return self._repo.manifestlog[self._changeset.manifest].read()
535 return self._manifestctx.read()
536
537 @propertycache
538 def _manifestctx(self):
539 return self._repo.manifestlog[self._changeset.manifest]
534 540
535 541 @propertycache
536 542 def _manifestdelta(self):
537 mfnode = self._changeset.manifest
538 return self._repo.manifestlog[mfnode].readdelta()
543 return self._manifestctx.readdelta()
539 544
540 545 @propertycache
541 546 def _parents(self):
General Comments 0
You need to be logged in to leave comments. Login now