news from the topic experiment

Sean Farley sean at farley.io
Thu Sep 22 21:58:29 EDT 2016


Kevin Bullock <kbullock+mercurial at ringworld.org> writes:

>> On Sep 22, 2016, at 20:14, Jun Wu <quark at fb.com> wrote:
>> 
>> Excerpts from Sean Farley's message of 2016-09-22 17:30:34 -0700:
>>> Completely false. Take a look at the hgtopics repo:
>>> 
>>> $ hg log --debug -vr 093a | grep "\(topic=\|phase\)"
>>> phase:       public
>>> extra:       topic=stackheader
>> 
>> I admit I didn't look into the details carefully. Sorry for that.
>> 
>> I think the major difference is the "local" vs "global" part. I do think
>> having the ability to give changesets private labels locally can be useful -
>> that's probably another extension other than "topic".
>
> It's not even an extension -- if a local label is what you want, we've had localtags since before bookmarks existed.

It's more than that, I believe. What Jun means, I'm guessing, is the
power of local refs. For instance, having a ref that tracks another one
is very powerful for some use-cases.


More information about the Mercurial-devel mailing list