[PATCH 4 of 9 STABLE? V2] gendoc: add show_doc_hgignore
Takumi IINO
trot.thunder at gmail.com
Wed May 15 02:14:21 CDT 2013
# HG changeset patch
# User Takumi IINO <trot.thunder at gmail.com>
# Date 1368600303 -32400
# Wed May 15 15:45:03 2013 +0900
# Branch stable
# Node ID e8cbf24c51e730190c31474af159cf7e41802c4d
# Parent 4ff0ea3872414cffa1eaf8120e6fb359827c283a
gendoc: add show_doc_hgignore
This function prints hgignore.5.gendoc.txt content.
diff --git a/doc/gendoc.py b/doc/gendoc.py
--- a/doc/gendoc.py
+++ b/doc/gendoc.py
@@ -97,6 +97,9 @@
ui.write(minirst.subsubsection(_('Commands')))
commandprinter(ui, cmdtable, minirst.subsubsubsection)
+def show_doc_hgignore(ui):
+ helpprinter(ui, helptable, None, include=['hgignore'])
+
def helpprinter(ui, helptable, sectionfunc, include=[], exclude=[]):
for names, sec, doc in helptable:
if exclude and names[0] in exclude:
More information about the Mercurial-devel
mailing list