[PATCH 4 of 7 STABLE] hg-ssh: copy doc string to man page

Yuya Nishihara yuya at tcha.org
Sun May 1 05:12:17 EDT 2016


On Sun, 01 May 2016 00:12:04 -0700, Sean Farley wrote:
> # HG changeset patch
> # User Sean Farley <sean at farley.io>
> # Date 1462063658 25200
> #      Sat Apr 30 17:47:38 2016 -0700
> # Branch stable
> # Node ID 60d96ee76151c33087068443af42cacfe8a5391e
> # Parent  23e884cfdd6d77cc3878f87d2c7542c795f5dedb
> # EXP-Topic docker-ppa
> hg-ssh: copy doc string to man page
> 
> This corrects a warning from lintian that we're shipping an executable without
> a man page. Since there is a doc string in the text, let's use that for the man
> page.
> 
> diff --git a/doc/gendoc.py b/doc/gendoc.py
> --- a/doc/gendoc.py
> +++ b/doc/gendoc.py
> @@ -134,10 +134,11 @@ def showdoc(ui):
>  
>  def showtopic(ui, topic):
>      extrahelptable = [
>          (["common"], '', loaddoc('common')),
>          (["hg.1"], '', loaddoc('hg.1')),
> +        (["hg-ssh.1"], '', loaddoc('hg-ssh.1')),

It appears the official Debian package puts it in the section 8.

http://manpages.ubuntu.com/manpages/xenial/man8/hg-ssh.8.html


More information about the Mercurial-devel mailing list