changeset 36092:879da36e7644

narrowrepo: add docstring for narrowpats Differential Revision: https://phab.mercurial-scm.org/D2184
author Augie Fackler <augie@google.com>
date Mon, 12 Feb 2018 13:51:29 -0500
parents ea02be8665ef
children ed4e68efebfe
files hgext/narrow/narrowrepo.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/narrow/narrowrepo.py	Fri Feb 02 10:51:47 2018 -0500
+++ b/hgext/narrow/narrowrepo.py	Mon Feb 12 13:51:29 2018 -0500
@@ -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)