Reputation: 6047
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" ?
Upvotes: 3
Views: 375
Reputation: 1547
From hg help phases
To make yours commits secret by default, put this in your configuration
file:
[phases]
new-commit = secret
Upvotes: 6