Mercurial > hg-stable
diff mercurial/hg.py @ 41236:44a51c1c8e17
narrow: move copytonarrowspec() out of setnarrowpats()
I think it was a mistake to write the working copy's narrowspec every
time the store narrowspec is written. This starts separating those
actions.
Differential Revision: https://phab.mercurial-scm.org/D5509
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 29 Dec 2018 23:40:18 -0800 |
parents | 50ca531f1f24 |
children | 876494fd967d |
line wrap: on
line diff
--- a/mercurial/hg.py Sat Dec 29 23:09:07 2018 -0800 +++ b/mercurial/hg.py Sat Dec 29 23:40:18 2018 -0800 @@ -737,6 +737,7 @@ if narrow: with local.wlock(), local.lock(): local.setnarrowpats(storeincludepats, storeexcludepats) + narrowspec.copytoworkingcopy(local) u = util.url(abspath) defaulturl = bytes(u)