Patchwork [5,of,5,STABLE] color: point to the global help in the example hgrc

login
register
mail settings
Submitter Pierre-Yves David
Date May 1, 2017, 2:03 p.m.
Message ID <cbda2e284e5d972b877b.1493647415@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20330/
State Accepted
Headers show

Comments

Pierre-Yves David - May 1, 2017, 2:03 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1493646041 -7200
#      Mon May 01 15:40:41 2017 +0200
# Branch stable
# Node ID cbda2e284e5d972b877b9d02cbd178704c29bcde
# Parent  ead637d0d530879ece15f841966044b1d79a74ba
# EXP-Topic color
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r cbda2e284e5d
color: point to the global help in the example hgrc

This is probably the best way to have users learn more is they need too.
Sean Farley - May 1, 2017, 6:25 p.m.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
> # Date 1493646041 -7200
> #      Mon May 01 15:40:41 2017 +0200
> # Branch stable
> # Node ID cbda2e284e5d972b877b9d02cbd178704c29bcde
> # Parent  ead637d0d530879ece15f841966044b1d79a74ba
> # EXP-Topic color
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r cbda2e284e5d
> color: point to the global help in the example hgrc
>
> This is probably the best way to have users learn more is they need too.

A bit close to the release but this seems like a fairly easy win.
Augie Fackler - May 1, 2017, 7:02 p.m.
On Mon, May 01, 2017 at 04:03:35PM +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
> # Date 1493646041 -7200
> #      Mon May 01 15:40:41 2017 +0200
> # Branch stable
> # Node ID cbda2e284e5d972b877b9d02cbd178704c29bcde
> # Parent  ead637d0d530879ece15f841966044b1d79a74ba
> # EXP-Topic color
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r cbda2e284e5d
> color: point to the global help in the example hgrc

queued
Pierre-Yves David - May 1, 2017, 7:16 p.m.
On 05/01/2017 09:02 PM, Augie Fackler wrote:
> On Mon, May 01, 2017 at 04:03:35PM +0200, Pierre-Yves David wrote:
>> # HG changeset patch
>> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
>> # Date 1493646041 -7200
>> #      Mon May 01 15:40:41 2017 +0200
>> # Branch stable
>> # Node ID cbda2e284e5d972b877b9d02cbd178704c29bcde
>> # Parent  ead637d0d530879ece15f841966044b1d79a74ba
>> # EXP-Topic color
>> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
>> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r cbda2e284e5d
>> color: point to the global help in the example hgrc
>
> queued

Thanks.

Patch one is actually a stowaway from me messing up when typing the 
revset for patchbomb[1]. It is non-user facing and not really tested so 
please drop it.
Augie Fackler - May 1, 2017, 7:17 p.m.
> On May 1, 2017, at 15:16, Pierre-Yves David <pierre-yves.david@ens-lyon.org> wrote:
> 
> 
> On 05/01/2017 09:02 PM, Augie Fackler wrote:
>> On Mon, May 01, 2017 at 04:03:35PM +0200, Pierre-Yves David wrote:
>>> # HG changeset patch
>>> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
>>> # Date 1493646041 -7200
>>> #      Mon May 01 15:40:41 2017 +0200
>>> # Branch stable
>>> # Node ID cbda2e284e5d972b877b9d02cbd178704c29bcde
>>> # Parent  ead637d0d530879ece15f841966044b1d79a74ba
>>> # EXP-Topic color
>>> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
>>> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r cbda2e284e5d
>>> color: point to the global help in the example hgrc
>> 
>> queued
> 
> Thanks.
> 
> Patch one is actually a stowaway from me messing up when typing the revset for patchbomb[1]. It is non-user facing and not really tested so please drop it.

I'm going to run `hg prune` on it. Do whatever needs doing locally to avoid losing it.

> 
> -- 
> Pierre-Yves David
> 
> [1] we should probably have an option for patchwork complaining about non-contiguous series)

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -52,6 +52,7 @@  samplehgrcs = {
 username =
 
 # uncomment to disable color in command output
+# (see 'hg help color' for details)
 # color = never
 
 [extensions]
@@ -98,6 +99,7 @@  default = %s
 
 [ui]
 # uncomment to disable color in command output
+# (see 'hg help color' for details)
 # color = never
 
 [extensions]