This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: allow narrowmatch() to accept matcher to intersect with
ClosedPublic

Authored by martinvonz on Oct 5 2018, 6:35 PM.

Details

Summary

It's pretty common that we need to intersect a matcher we already have
(usually from the user) with the narrow matcher. Let's make
repo.narrowmatch() take an optional matcher to intersect with.

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.