Skip to content
Snippets Groups Projects
Commit 1ce7a55b authored by Jörg Sonnenberger's avatar Jörg Sonnenberger
Browse files

revlog: reset _nodepos after strip

When using the pure revlog parser, _nodepos is used to keep track of the
position during index scanning in the non-cached cache. If it is out of
bounds, BaseIndexObject._fix_index will assert. Since strip can actually
remove the position scanned last, make sure to reset it. Add an
assertion in the place where the invariance is clearer.

Differential Revision: https://phab.mercurial-scm.org/D3188
parent f1413e4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment