[PATCH 1 of 2 V2] destutil: show branch head information even if parent is at active bookmark

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Mar 9 11:53:12 EST 2016



On 03/01/2016 02:22 PM, Yuya Nishihara wrote:
> On Mon, 29 Feb 2016 02:27:24 +0900, FUJIWARA Katsunori wrote:
>> # HG changeset patch
>> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
>> # Date 1456680134 -32400
>> #      Mon Feb 29 02:22:14 2016 +0900
>> # Node ID a694cb0ea3a9ca64ac729c8fb2d507fb188eae97
>> # Parent  10eaae94523c790d7b77c52a4cb4bfcf406021ef
>> destutil: show branch head information even if parent is at active bookmark
>>
>> Before this patch, active bookmark at parent always causes omission of
>> the message 'N other heads for branch "BRANCH"', even if there are
>> other branch heads.
>>
>> If there are divergent bookmarks, this behavior is reasonable, because
>> this omission makes user focus on resolving divergence of
>> bookmark. But otherwise, this might make user overlook other branch
>> heads.
>
> The current behavior makes sense to me. Considering a bookmark is a semantic
> branch, there is no other heads for the active "bookmarked" branch.

I'm with yuya here, I think the current behavior is correct.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list