This is an archive of the discontinued Mercurial Phabricator instance.

overlwayworkingctx: remove doubly bad reference to wrapped ctx for copies
ClosedPublic

Authored by martinvonz on Jan 6 2020, 7:58 PM.

Details

Summary

_wrappedctx lives on overlwayworkingctx, not on the repo object, so
we should access it as ._wrappedctx, not ._repo._wrappedctx. More
importantly, the overlayworkingctx is relative to its base, not
including it, so the copies returned should not include copies made in
the base.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.