HighCommander4
HighCommander4

Reputation: 52739

Edit .hgrc of repository on bitbucket

Is there a way to access and edit the .hgrc file of a Mercurial repository on Bitbucket? I am talking about the repository on Bitbucket itself, not a local clone of it.

The use case is that I would like to add the following in the .hgrc file

[phases]
publish = False

to mark the repository as non-publishing, as recommended here.

Upvotes: 4

Views: 334

Answers (2)

Robert Siemer
Robert Siemer

Reputation: 34677

You can do that under

Settings → Repository details → Phases

Upvotes: 1

Viktor Kerkez
Viktor Kerkez

Reputation: 46586

Currently there is no way for doing that, but there is an issue reported to bitbucket so it may happen sometime in the future: Provide a method for setting the phase of a repository to non-publishing.

Upvotes: 1

Related Questions