publish =False to True, no change

Paul Morelle paul.morelle at octobus.net
Wed Oct 10 11:23:09 UTC 2018


On 10/10/18 1:11 PM, Uwe Brauer wrote:
> Hi
>
> I just changed 
>
> [phases]
> publish = False
>
> To 
>
> publish = True
>
> However after pushing to a bitbucket repo, all my commits are still
> drafts.
>
> What do I miss? I thought after pushing they would be automatically be
> public.
>
> Uwe Brauer 

Hello Uwe,

This setting is telling Mercurial that your repository is not
publishing. That is, when changesets are exchanged with it, whether they
become public or remain draft.
>From the behavior you describe, I guess that the bitbucket repository is
set as non-publishing (Settings, Repository details, Phases: [x] This is
a non-publishing repository).
If you want to have this publishing behavior for all your pushes, then
you can uncheck this checkbox.
However, you will probably prefer to choose when you publish or not. The
command to publish a changeset is:

    hg push --publish -r changeset

Paul Morelle




More information about the Mercurial mailing list