# HG changeset patch # User Martin von Zweigbergk # Date 1545154472 28800 # Node ID b2de94e59702b4b35fdbe64ffc4d14c977930648 # Parent 095a0a63ad8869ed717665bb87b5b61a34447acd 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 diff -r 095a0a63ad88 -r b2de94e59702 mercurial/repository.py --- 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):