##// 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 return hex(self.node())
178 return hex(self.node())
179 def manifest(self):
179 def manifest(self):
180 return self._manifest
180 return self._manifest
181 def manifestctx(self):
182 return self._manifestctx
181 def repo(self):
183 def repo(self):
182 return self._repo
184 return self._repo
183 def phasestr(self):
185 def phasestr(self):
@@ -530,12 +532,15 b' class changectx(basectx):'
530
532
531 @propertycache
533 @propertycache
532 def _manifest(self):
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 @propertycache
541 @propertycache
536 def _manifestdelta(self):
542 def _manifestdelta(self):
537 mfnode = self._changeset.manifest
543 return self._manifestctx.readdelta()
538 return self._repo.manifestlog[mfnode].readdelta()
539
544
540 @propertycache
545 @propertycache
541 def _parents(self):
546 def _parents(self):
General Comments 0
You need to be logged in to leave comments. Login now