manifest: change changectx to access manifest via manifestlog
authorDurham Goode <durham@fb.com>
Wed, 17 Aug 2016 13:25:13 -0700
changeset 29827 a22b3de3b65a
parent 29826 93b44aa17691
child 29828 79add5a4e857
manifest: change changectx to access manifest via manifestlog This is the first place where we'll start using manifestctx instances instead of manifestdict. This will facilitate using different manifestctx implementations in the future.
mercurial/context.py
--- a/mercurial/context.py	Wed Aug 17 13:25:13 2016 -0700
+++ b/mercurial/context.py	Wed Aug 17 13:25:13 2016 -0700
@@ -528,7 +528,7 @@
 
     @propertycache
     def _manifest(self):
-        return self._repo.manifest.read(self._changeset.manifest)
+        return self._repo.manifestlog[self._changeset.manifest]
 
     @propertycache
     def _manifestdelta(self):