[PATCH 3 of 9 STABLE?] gendoc: rename to show_doc_hg from show_doc

Takumi IINO trot.thunder at gmail.com
Tue May 14 02:29:12 CDT 2013


# HG changeset patch
# User Takumi IINO <trot.thunder at gmail.com>
# Date 1368513072 -32400
#      Tue May 14 15:31:12 2013 +0900
# Branch stable
# Node ID eb1e252a760cb6aa0909b24010d7bc7d1b954b35
# Parent  bc6795f68037d86f878b4c985fde89436ac60029
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