[PATCH] chgserver: move comments in config example
Augie Fackler
raf at durin42.com
Thu Feb 16 12:05:57 EST 2017
On Wed, Feb 15, 2017 at 06:55:26PM -0800, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1487212221 28800
> # Wed Feb 15 18:30:21 2017 -0800
> # Node ID 894c348d49abb67613b156a2f7c60a840818bc39
> # Parent e5363cb96233861fc99f7e9b85d7884d3121558c
> # Available At https://bitbucket.org/quark-zju/hg-draft
> # hg pull https://bitbucket.org/quark-zju/hg-draft -r 894c348d49ab
> chgserver: move comments in config example
Queued, thanks.
>
> "#" must be the first character of a line to mark the text as comments.
> So let's change the docstring.
>
> diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
> --- a/mercurial/chgserver.py
> +++ b/mercurial/chgserver.py
> @@ -32,6 +32,9 @@ Config
>
> [chgserver]
> - idletimeout = 3600 # seconds, after which an idle server will exit
> - skiphash = False # whether to skip config or env change checks
> + # how long (in seconds) should an idle chg server exit
> + idletimeout = 3600
> +
> + # whether to skip config or env change checks
> + skiphash = False
> """
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list