How can I claim that the remote server (on bitbucket ) is not published when I do not have access to the remote .hg/hgrc ?
Background
Recent versions of Mercurial have a phase concept that lets you keep track of which changes have been shared ( public ) and which haven't ( draft ). Repository change operations such as rebase allowed on draft change sets, but not public changes, as others may depend on the latter.
Clicking change sets on a public server by default changes its phase to public , but if the server is private or is dedicated to code reviews (that is, people cannot pull it out), then clicking on this "non-publication" server should not change the phase.
The documented way to tell mercurial that the server is not published is to add the [phases] section to the .hg/hgrc on the server:
[phases] publishing = false
It seems to me that there should be a way to include a line in one of my local hgrc files, which says that a specific server is not published, but I cannot find any documentation to suggest how to do this. Perhaps this behavior can be customized with a hook?
References
bitbucket mercurial mercurial-phases
mforbes
source share