Mercurial > hg
comparison hgext/strip.py @ 30221:f2c5b9d48b29 stable
manifest: make treemanifestctx store the repo
Same as in the last commit, the old treemanifestctx stored a reference to the
revlog. If the inmemory revlog became invalid, the ctx now held an old copy and
would be incorrect. To fix this, we need the ctx to go through the manifestlog
for each access.
This is the same pattern that changectx already uses (it stores the repo, and
accesses commit data through self._repo.changelog).
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 18 Oct 2016 17:44:42 -0700 |
parents | d5883fd055c6 |
children | 46ba2cdda476 |
comparison
equal
deleted
inserted
replaced
30220:acc8885a6450 | 30221:f2c5b9d48b29 |
---|