2009/8/28 Steve Borho <st...@borho.org>

> On Fri, Aug 28, 2009 at 12:50 PM, Adrian Buehlmann<adr...@cadifra.com>
> wrote:
> > On 28.08.2009 19:15, Steve Borho wrote:
> >> There's a lot of rather advanced features being tacked onto the
> >> changelog and commit tools on the last few months, which is all fine
> >> and grand for experienced Mercurial users, but I'm beginning to wonder
> >> if we want to hide many of these commands by default to protect new
> >> users from shooting themselves in the feet.
> >>
> >> Specifically:  rebase, strip, transplant, backout, MQ
> >>
> >> Many of those operations have failure modes that require command line
> >> manipulations to get back to a normal working state.
> >>
> >> I'm curious how other people feel about this.
> >
> > I'm fine with not showing these by default, turning them
> > on with some expert mode -- or something.
>
> Yeah, either through 'tortoisehg.trainingwheels = False' or just
> checking for loaded extensions.
>

I'm not too fond of modes in general.
See for example
http://en.wikipedia.org/wiki/Mode_error#Criticism_and_mode_errors

I think it is a good idea to check for loaded extensions. This would prevent
users from having multiple things to do to enable e.g. rebase, and at the
same time would hide it from unexperienced users.

Maybe thgrepoconfig / thguserconfig should have a dialog for enabling/adding
Mercurial extensions.

This could also be used to provide extensions for THG.

Say I wanted to have a GUI for pbranch, but since THG does not contain
anything but official extensions I would need some alternative way of making
it work.

If THG could load GUI extensions, then an experimental pbranch GUI did not
require a full THG installer but could simply be installed on top of an
existing THG installer.

A simple interface could be to provide a full dialog via a plugin to the
hgtk script.

Regards,
Peer
------------------------------------------------------------------------------
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
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to