On 14.09.2009 17:58, Steve Borho wrote:
> On Sun, Sep 13, 2009 at 1:59 AM, Adrian Buehlmann <[email protected]> wrote:
>> Maybe do the menu content like this?
>>
>> Navigate <- name of menu
>> ----
>> Tip
>> Parent 1
>> Parent 2 <- disable that, if there is only one (grey it out)
>> ----
>> Revision... <- opens goto dialog
>> ----
>> default <- put branch names in this group (not tags).
>> "default" on top,
>> don't show this group if there is just the default
>> branch
>> stable
>> feature1
>> release7
>> ... <- limit number of entries to 20
>> More branches... <- and put this entry if there are more,
>> to open a dialog to select
>
> I started this, but didn't make it very far. Did you intend to jump
> to the tipmost branch head when the user selected a branch name?
Branch names already work in the Revision.. dialog. Just do the same.
That is, to wherever mercurial's repo[revision] may jump to (just specify
the branch name).
For example, repo['stable'] works just fine.
Excerpt from history.py:
def goto_rev(self, revision):
rid = self.repo[revision].rev()
self.graphview.set_revision_id(rid, load=True)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss