Mercurial > hg-stable
changeset 30348:b0ca939414ea
treemanifest: fix a "treeinmem" case
f2c5b9d48b29 (manifest: make treemanifestctx store the repo,
2016-10-18) broke most tests when run with treeinmem=True. The
treeinmem mode can not be enabled by the user, so this did not break
anything in practice, but it's useful to have it working for testing
the treemanifest code.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 04 Nov 2016 13:49:15 -0700 |
parents | 6ecad4b73569 |
children | 6cdfb7e15a35 |
files | mercurial/manifest.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/manifest.py Sun Nov 06 10:46:55 2016 -0800 +++ b/mercurial/manifest.py Fri Nov 04 13:49:15 2016 -0700 @@ -1427,7 +1427,7 @@ m.setnode(self._node) self._data = m else: - text = revlog.revision(self._node) + text = rl.revision(self._node) arraytext = array.array('c', text) rl.fulltextcache[self._node] = arraytext self._data = treemanifest(dir=self._dir, text=text)