This is an archive of the discontinued Mercurial Phabricator instance.

share: properly copy cache files when cloning from a share
ClosedPublic

Authored by joerg.sonnenberger on Dec 14 2020, 1:48 PM.

Details

Summary

If a is shared to b and b cloned to c, the old code would look directly
under b/.hg for the cache directory and not use the cachevfs layer to
pick the members from a/.hg/cache. Adjust variable names and comments to
reflect that the function is used for more than just the branchmap
cache.

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.

Event Timeline

joerg.sonnenberger retitled this revision from share: propery copy cache files when cloning from a share to share: properly copy cache files when cloning from a share.Dec 14 2020, 2:03 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.