I'm not sure there is a need for this. We don't even have a button to update to the selected revision. Why have one to update to the most recent branch head?
What would be more interesting though, and this is something I've been thinking about for a while, is to be able to customize the toolbar with extra buttons which could execute any external command, including mercurial commands. This would make it easy to do what you suggest in this patch, while being a much more generic solution.
Angel
Actually we do, but it is on the toolbar of the revision details tab.
> What would be more interesting though, and this is something I've been
> thinking about for a while, is to be able to customize the toolbar with
> extra buttons which could execute any external command, including mercurial
> commands. This would make it easy to do what you suggest in this patch,
> while being a much more generic solution.
That could be quite handy.
--
Steve Borho
You are right. What I meant is that there is no update button on the
workbench toolbar.
>> What would be more interesting though, and this is something I've been
>> thinking about for a while, is to be able to customize the toolbar with
>> extra buttons which could execute any external command, including mercurial
>> commands. This would make it easy to do what you suggest in this patch,
>> while being a much more generic solution.
>
> That could be quite handy.
I went ahead and finished a patch series that I had unfinished for a
while. I'll send it later today for review. It adds a new toolbar to
the workbench, where a user can place buttons that will execute custom
commands. These are configured via by manually editing the tortoisehg
section of the mercurial user configuration file (i.e. there is no
configuration GUI yet).
Cheers,
Angel