D2494: narrow: move narrowmatch-related methods to localrepo

2018-02-28 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG759a79ce785e: narrow: move narrowmatch-related methods to localrepo (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2494: narrow: move narrowmatch-related methods to localrepo

2018-02-28 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. I know we're trying to remove methods from `localrepository` so it is smaller. `narrowpats` and `_narrowmatch` need to be there because of `@repofilecache`. And `narrowmatch` is the

D2494: narrow: move narrowmatch-related methods to localrepo

2018-02-28 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch makes it so localrepo.narrowmatch() and a few more are always available, which will let us simplify the use sites