evolve in core mercurial, feature proposal: push -T topic

Georges Racinet georges.racinet at octobus.net
Fri Dec 18 10:51:01 UTC 2020


On 12/15/20 7:51 PM, Uwe Brauer wrote:
> Hi 
>
> Any idea or plans when evolve will be part of mercurial core?
>
> It so happens that sometimes I have two heads on one branch because I
> use two topics, I cannot push them, without either 
>
>     1. Merge them
>
>     2. Or add bookmarks and push them. 

That pretty much defeats the purpose of topics. This is totally
abnormal. Are you pushing to a server that's not topics aware?

In general, our recommendation is to avoid mixing bookmarks with topics,
as it brings a swat of corner cases that we simply don't want to spend
time debugging given that topics are meant as an alternative to
bookmarks. Granted, the concepts are different, but both are an
alternative for the common use-case of short-term branches.

To illustrate, I put an explicit check in Heptapod to forbid explicitely
bookmarks on a topical changeset when I implemented bookmarks support
(before that they were completely refused).

Regards


-- 
Georges Racinet
https://octobus.net, https://about.heptapod.host, https://heptapod.net
GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics




More information about the Mercurial mailing list