publish =False to True, no change
Uwe Brauer
oub at mat.ucm.es
Thu Oct 11 20:29:25 UTC 2018
>>> "Sietse" == Sietse Brouwer <sbbrouwer at gmail.com> writes:
From Brauer to Brouwer
Thanks very for the this detailed answer, but...
> Uwe Brauer wrote:
>> After a push the changeset should be marked as public, but it is
>> not, it is marked as draft. I wounder whether this is a bug?
> A possibly helpful clarification: there are two repositories that can
> be set to 'publish=True', namely your local and remote repository. It
> is only the setting of the *receiving* repo that matters:
> - when you push, only the publish setting of the remote repo matters
> - when you pull, only the publish setting of the local repo matters.
> I've written out the cases in full, below.
> Kind regards from Brouwer to Brauer,
> Sietse Brouwer
> All these cases assume that you are pushing/pulling commits that are
> in Draft phase.
> Case 1:
> local publish=True
> remote publish=True
This the case I started with.
Here is my setting
[phases]
local publish = True
remote publish = True
And indeed
hg config shows
phases.local publish=True
phases.remote publish=True
I commit and I push then I run
hg log -G --template "\x1B[33mcommit {rev}:{node|short}\nBranch: {branch}\nAuthor: {author}\nDate: {date|rfc822date}\nPhase: {phase}\n\n{desc}\n{nofiles}\n"
But I see
@ commit 4:8d5b89cf6a1d
| Branch: feature
| Author: Uwe Brauer <oub at mat.ucm.es>
| Date: Thu, 11 Oct 2018 22:22:36 +0200
| Phase: draft
|
| remotename out, set again the name to default.
|
o commit 3:9095e47420f6
| Branch: feature
| Author: Uwe Brauer <oub at mat.ucm.es>
| Date: Thu, 11 Oct 2018 22:21:29 +0200
| Phase: draft
|
| Add the two files and try out local/remote publish.
|
I clone the repo from bitbucket and all my phases are displayed as
draft.
Is this a BUG?
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20181011/2d888dd2/attachment.p7s>
More information about the Mercurial
mailing list