[PATCH 3 of 9 STABLE? V2] gendoc: rename to show_doc_hg from show_doc
Takumi IINO
trot.thunder at gmail.com
Wed May 15 02:14:20 CDT 2013
# HG changeset patch
# User Takumi IINO <trot.thunder at gmail.com>
# Date 1368600301 -32400
# Wed May 15 15:45:01 2013 +0900
# Branch stable
# Node ID 4ff0ea3872414cffa1eaf8120e6fb359827c283a
# Parent 8ef73a60dc14d96a7dbd8844df862a51517630f3
gendoc: rename to show_doc_hg from show_doc
This function prints hg.1.gendoc.txt content.
diff --git a/doc/gendoc.py b/doc/gendoc.py
--- a/doc/gendoc.py
+++ b/doc/gendoc.py
@@ -64,7 +64,7 @@
return d
-def show_doc(ui):
+def show_doc_hg(ui):
# print options
ui.write(minirst.section(_("Options")))
for optstr, desc in get_opts(globalopts):
@@ -158,4 +158,4 @@
return extensions.enabled().keys() + extensions.disabled().keys()
if __name__ == "__main__":
- show_doc(sys.stdout)
+ show_doc_hg(sys.stdout)
More information about the Mercurial-devel
mailing list