D5466: repository: update interface signature of narrowmatch()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Dec 20 14:17:51 EST 2018


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

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):



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


More information about the Mercurial-devel mailing list