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

login
register
mail settings
Submitter Takumi IINO
Date May 14, 2013, 7:29 a.m.
Message ID <eb1e252a760cb6aa0909.1368516552@iino-no-MacBook-Air.local>
Download mbox | patch
Permalink /patch/1625/
State Rejected, archived
Headers show

Comments

Takumi IINO - May 14, 2013, 7:29 a.m.
# HG changeset patch
# User Takumi IINO <trot.thunder@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.

Patch

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)