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

Matt Mackall mpm at selenic.com
Thu May 23 17:44:04 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 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.

> -def show_doc(ui):
> +def show_doc_hg(ui):

We're unfond of underbars in identifier names, so you need to remove
them when changing names.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list