Patchwork D5466: repository: update interface signature of narrowmatch()

login
register
mail settings
Submitter phabricator
Date Dec. 20, 2018, 7:17 p.m.
Message ID <51328bfaa9f1c8aa0ded8999e3e66bd3@localhost.localdomain>
Download mbox | patch
Permalink /patch/37287/
State Not Applicable
Headers show

Comments

phabricator - Dec. 20, 2018, 7:17 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6d49a573ba57: repository: update interface signature of narrowmatch() (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5466?vs=12930&id=12937

REVISION DETAIL
  https://phab.mercurial-scm.org/D5466

AFFECTED FILES
  mercurial/repository.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: indygreg, pulkit, mercurial-devel

Patch

diff --git a/mercurial/repository.py b/mercurial/repository.py
--- a/mercurial/repository.py
+++ b/mercurial/repository.py
@@ -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):