hg up and phases, surprises
Georges Racinet
georges.racinet at octobus.net
Fri May 26 07:43:34 UTC 2023
Hi there, a precision
On 26/05/2023 07:30, Dr. Arne Babenhauserheide wrote:
>> Yes of course a local one
>>> Is the repository set as publishing?
>>
>> Yes
>>
>> [phases]
>> publish = True
>>
>>
>> But I changed it to
>>
>> [phases]
>> publish = False
>>
>> But it did not make any difference.
> Can you reproduce that in a set of commands starting from hg init? If
> yes, I think that’s a bug.
>
> In that case it would be great if you could file it as a bug and add the
> reproduction commands.
There is a frequent confusion about the `phases.publish` configuration
item : it is not about what happens with local manipulation commands
such as `hg update`. Instead, it is about what happens when the
repository is being pushed to.
It is a good idea to set it to `False` when you are using drafts,
because sooner or later you'd want to push between two of your machines,
or from a temporary working clone and then you'd get surprises if
`phases.publish` is the default `True`, but that's about it.
Best,
--
Georges Racinet
https://octobus.net, https://heptapod.net
GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics
More information about the Mercurial
mailing list