[PATCH 5 of 9 STABLE? V2] gendoc: add show_doc_hgrc

Matt Mackall mpm at selenic.com
Thu May 23 17:46:41 CDT 2013


On Wed, 2013-05-15 at 16:14 +0900, Takumi IINO wrote:
> # HG changeset patch
> # User Takumi IINO <trot.thunder at gmail.com>
> # Date 1368600306 -32400
> #      Wed May 15 15:45:06 2013 +0900
> # Branch stable
> # Node ID fe6f4a4f4d39947f19f1238177df6cc9bc71ad82
> # Parent  e8cbf24c51e730190c31474af159cf7e41802c4d
> gendoc: add show_doc_hgrc
> 
> This function prints hgrc.5.gendoc.txt content.
> 
> diff --git a/doc/gendoc.py b/doc/gendoc.py
> --- a/doc/gendoc.py
> +++ b/doc/gendoc.py
> @@ -100,6 +100,9 @@
>  def show_doc_hgignore(ui):
>      helpprinter(ui, helptable, None, include=['hgignore'])
>  
> +def show_doc_hgrc(ui):
> +    helpprinter(ui, helptable, None, include=['config'])
> +

This and the previous patch seem too trivial to warrant their own
functions.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list