I would like to create "secret" commit instead of "draft" commit by default in a mercurial project. Is there any way to configure mercurial so that the default phase is "secret" instead of "draft" ?
Asked
Active
Viewed 361 times
1 Answers
6
From hg help phases
To make yours commits secret by default, put this in your configuration
file:
[phases]
new-commit = secret

somnium
- 1,487
- 9
- 15
-
Which Mercurial version are you using? I am using Mercurial Distributed SCM (version 3.9) – somnium Sep 30 '16 at 15:08
-
2.8.2, from ubuntu 14.04 – Vinz Sep 30 '16 at 15:18
-
3```hg help phase``` is different from ```hg help phases``` - ```hg help phase``` is for information on manually manipulating phases - ```hg help phases``` explains what phases are – aflp91 Sep 30 '16 at 19:41