repository: update interface signature of narrowmatch()
This should have been part of 4fd0fac48922 (localrepo: allow
narrowmatch() to accept matcher to intersect with, 2018-09-28) and
41fcdfe3bfeb (narrow: allow repo.narrowmatch(match) to include exact
matches from "match", 2018-10-01).
Differential Revision: https://phab.mercurial-scm.org/D5466
--- a/mercurial/repository.py Wed Dec 05 15:30:56 2018 -0800
+++ b/mercurial/repository.py Tue Dec 18 09:34:32 2018 -0800
@@ -1477,7 +1477,7 @@
narrowpats = interfaceutil.Attribute(
"""Matcher patterns for this repository's narrowspec.""")
- def narrowmatch():
+ def narrowmatch(match=None, includeexact=False):
"""Obtain a matcher for the narrowspec."""
def setnarrowpats(newincludes, newexcludes):