[PATCH] fileset: use correct function name for hgignore in docstring

Ollie Rutherfurd orutherfurd at gmail.com
Sun Jun 19 21:35:11 CDT 2011


# HG changeset patch
# User Ollie Rutherfurd <orutherfurd at gmail.com>
# Date 1308537205 14400
# Node ID 90da35ede39ccef7f54f197a1b636bdfbe8ef557
# Parent  6ab8b17adc03c423b53fb50951058915edc4ca60
fileset: use correct function name for hgignore in docstring

docstring refereed to "resolved" instead of "hgignore"

diff --git a/mercurial/fileset.py b/mercurial/fileset.py
--- a/mercurial/fileset.py
+++ b/mercurial/fileset.py
@@ -228,7 +228,7 @@ def unresolved(mctx, x):
     return [f for f in mctx.subset if f in ms and ms[f] == 'u']
 
 def hgignore(mctx, x):
-    """``resolved()``
+    """``hgignore()``
     File that matches the active .hgignore pattern.
     """
     getargs(x, 0, 0, _("hgignore takes no arguments"))


More information about the Mercurial-devel mailing list