Show More
@@ -48,6 +48,10 b' class changectx(object):' | |||
|
48 | 48 | elif name == '_manifest': |
|
49 | 49 | self._manifest = self._repo.manifest.read(self._changeset[0]) |
|
50 | 50 | return self._manifest |
|
51 | elif name == '_manifestdelta': | |
|
52 | md = self._repo.manifest.readdelta(self._changeset[0]) | |
|
53 | self._manifestdelta = md | |
|
54 | return self._manifestdelta | |
|
51 | 55 | else: |
|
52 | 56 | raise AttributeError, name |
|
53 | 57 | |
@@ -77,6 +81,9 b' class changectx(object):' | |||
|
77 | 81 | return self._manifest[path] |
|
78 | 82 | except KeyError: |
|
79 | 83 | raise repo.LookupError(_("'%s' not found in manifest") % path) |
|
84 | if '_manifestdelta' in self.__dict__ or path in self.files(): | |
|
85 | if path in self._manifestdelta: | |
|
86 | return self._manifestdelta[path] | |
|
80 | 87 | node, flag = self._repo.manifest.find(self._changeset[0], path) |
|
81 | 88 | if not node: |
|
82 | 89 | raise repo.LookupError(_("'%s' not found in manifest") % path) |
General Comments 0
You need to be logged in to leave comments.
Login now