diff mercurial/context.py @ 29827:a22b3de3b65a

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.
author Durham Goode <durham@fb.com>
date Wed, 17 Aug 2016 13:25:13 -0700
parents 576ff900fcc7
children 6f447b9ec263
line wrap: on
line diff
--- 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):