[PATCH] phases: mention how to make secret commits in help

timeless timeless at gmail.com
Thu Dec 31 09:28:26 CST 2015


On Wed, Dec 30, 2015 at 2:34 PM, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
>
>
> On 12/26/2015 01:35 PM, Yuya Nishihara wrote:
>>
>> On Tue, 22 Dec 2015 14:41:54 -0600, timeless wrote:
>>>
>>> # HG changeset patch
>>> # User timeless <timeless at mozdev.org>
>>> # Date 1450815022 0
>>> #      Tue Dec 22 20:10:22 2015 +0000
>>> # Node ID a9e8d6e4ef9b3c1b48f318f7b4d913dba729afc8
>>> # Parent  3dea4eae4eebac11741f0c1dc5dcd9c88d8f4554
>>> phases: mention how to make secret commits in help
>>>
>>> diff --git a/mercurial/help/phases.txt b/mercurial/help/phases.txt
>>> --- a/mercurial/help/phases.txt
>>> +++ b/mercurial/help/phases.txt
>>> @@ -28,6 +28,12 @@
>>>   Phases can also be manually manipulated with the :hg:`phase` command
>>>   if needed. See :hg:`help -v phase` for examples.
>>>
>>> +To make yours commits secret by default, put this in your
>>> +configuration file::
>>> +
>>> +  [phases]
>>> +  new-commit = secret
>>
>>
>> Looks good, pushed to the clowncopter, thanks.
>
>
> I'm pretty unconvinced by this patch. Secret changeset are still on a new
> head and we should still point that out. the secret changeset will
> eventually become draft and still be a new head. `hg push` will properly
> ignores the secret changeset and not complains about the new head (which is
> what matters).
>
> For better management of development heads we should more forward on solving
> release branch workflow instead.
>
> I think I would prefer this one to be backed out.


huh? this is just documentation for how to enable the feature, it's
definitely where it belongs.


More information about the Mercurial-devel mailing list