Heads from merged branches
Mathieu Courtois
mathieu.courtois at gmail.com
Mon Dec 2 06:36:54 UTC 2013
Or you can enable default options:
[defaults]
heads = --topo
2013/12/1 Pierre-Yves David <pierre-yves.david at ens-lyon.org>
> On 12/01/2013 02:42 PM, anatoly techtonik wrote:
>
>> The workaround is to declare the branch closed in the merge
>> commit. Using "hg commit --close-branch" will make the branch
>> disappear from the "hg branch" output. In addition to this, the
>> command "hg heads --closed" will show the closed branch as well.
>> I don't want to close branches. I want them to show in `branches` command
>> without any additional switches so that I can switch to them when needed.
>> The confusing part is heads output. Is it possible to change the default
>> behaviour to be basic --topo stuff?
>>
> You can easily create an alias doing what you want
>
> [alias]
> thead=head --topo
>
> --
> Pierre-Yves
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20131202/0430c69c/attachment-0002.html>
More information about the Mercurial
mailing list