Patchwork D2184: narrowrepo: add docstring for narrowpats

login
register
mail settings
Submitter phabricator
Date Feb. 12, 2018, 11:18 p.m.
Message ID <486cab6933a7836a3fddfb9b700dbd20@localhost.localdomain>
Download mbox | patch
Permalink /patch/27732/
State Not Applicable
Headers show

Comments

phabricator - Feb. 12, 2018, 11:18 p.m.
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




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

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)