monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: New commands (for mtn, in lua)


From: Zbynek Winkler
Subject: Re: [Monotone-devel] Re: New commands (for mtn, in lua)
Date: Fri, 7 Sep 2007 13:35:27 +0200

Resending to the list...

On 07/09/07, Zbynek Winkler <address@hidden> wrote:
> On 07/09/07, Markus Schiltknecht <address@hidden> wrote:
> > >> Again, please keep separate things separate. (And instead write simple
> > >> scripts for things like "sync here, pull there, propagate a little and
> > >> then update some of my workspaces".)
> > >
> > > I'm happy with that.  But I'd like the scripts to be cross platform.  If
> > > I'm supporting a bunch of users, I don't want to have to write scripts
> > > for every platform.
> > >
> > > Which brings us back to the lua commands :)
> >
> > I don't mind much, what language such scripts are written in, but the
> > normal lua hooks are underneath monotone, while such a script has to be
> > on top of monotone, i.e. controlling it.
> >
> > I'm not sure I understand your concept of 'lua commands', but to me this
> > looks very much like duplicating shell aliasing logic. Additionally, I
> > don't like the idea of giving users possibility to 'add commands',
> > because that only creates chaos: user A talking about mtn au blame, user
> > B unable to find anything about that command and user C having a
> > slightly different implementation of it.
>
> Mercurial has a notion of extensions a they are able to add or even
> change/replace existing commands and it is seen as an advantage - not
> a problem.
>
> +1 for the ability to add/change/replace mtn commands from lua rc file.
>
> Zbynek
>

-- 
http://robotika.cz/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]