D2184: narrowrepo: add docstring for narrowpats
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Feb 12 23:18:18 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG879da36e7644: narrowrepo: add docstring for narrowpats (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2184?vs=5500&id=5554
REVISION DETAIL
https://phab.mercurial-scm.org/D2184
AFFECTED FILES
hgext/narrow/narrowrepo.py
CHANGE DETAILS
diff --git a/hgext/narrow/narrowrepo.py b/hgext/narrow/narrowrepo.py
--- a/hgext/narrow/narrowrepo.py
+++ b/hgext/narrow/narrowrepo.py
@@ -75,6 +75,10 @@
@localrepo.repofilecache(narrowspec.FILENAME)
def narrowpats(self):
+ """matcher patterns for this repository's narrowspec
+
+ A tuple of (includes, excludes).
+ """
return narrowspec.load(self)
@localrepo.repofilecache(narrowspec.FILENAME)
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list