[PATCH] hgk: Display branch name for each head (issue 740)

Michael Sommerville msommerville at gmail.com
Mon Sep 15 17:57:48 CDT 2008


On Mon, Sep 15, 2008 at 8:25 AM, Patrick Mézard <pmezard at gmail.com> wrote:
> Michael Sommerville a écrit :
>> # HG changeset patch
>> # User Michael Sommerville <msommerville at gmail.com>
>> # Date 1220996547 -3600
>> # Node ID 91864578db8a2b0543f536bfc147198e65d1c48c
>> # Parent  6651de7176a01c8e93ecfcc4f7f1a2ec5ff02c73
>> hgk: Display branch name for each head (issue 740)
>>
>> In the graphical view, each head is decorated with an additonal tag
>> containing the branch name.
>
> Good idea. About the clutter, it should be changed to work like in hg log or similar commands: do not display the default branch name.

[snip]

>> +    set head_mark [lindex $commitinfo($id) 7]
>
> s/head_mark/headmark/

[snip]

Thanks for the comments Patrick.  I've just submitted a slightly
modified version based on the latest crew head.  The updated version
doesn't label those heads on the default branch and also copes with
branch names containing spaces.

-Michael



More information about the Mercurial-devel mailing list