Vinz
Vinz

Reputation: 6047

Can "secret" be set to the default phase of mercurial?

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

Answers (1)

somnium
somnium

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

Related Questions