Skip to content
Snippets Groups Projects
Commit ce0bc295 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

narrow: detect if narrowspec was changed in a different share

With this commit, `hg share` should be usable with narrow
repos. Design explained on
https://www.mercurial-scm.org/wiki/NarrowSharePlan

I was running into cache invalidation problems when updating the
narrowspec. After spending a day trying to figure out a good solution,
I resorted to just assigning repo.narrowpats and repo._narrowmatch
after invalidating them.

Differential Revision: https://phab.mercurial-scm.org/D5278
parent 7db1619a
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