monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Workspace commands and automate/stdio


From: Thomas Keller
Subject: Re: [Monotone-devel] Workspace commands and automate/stdio
Date: Mon, 09 Jul 2007 17:14:12 +0200
User-agent: Thunderbird 2.0.0.4 (X11/20070604)

> I started writing a monotone plugin for IntelliJ IDEA ...

Cool! Nice to hear that!

> Is there any schedule for adding the workspace commands to
> automate/stdio? Having at least the basic commands (add / rename / drop)
> available would be really great.

Well, adding those commands to automate is fairly trivial, there are
mostly two problems with it:

a) implementing the commands means code doubling, and that also means
double maintenance

b) there is no agreement yet how the output should look alike in an
error case, especially for stdio

Monotone uses a couple of global macros which error out well-defined if
something went wrong and this even works for the stdio ostream. However,
what you get as error message is still the same one a normal user would
get. You could start stdio or any other mtn subprocess with LANG=en,
still, if one of those english messages would change (spelling, etc.),
any automate command wouldn't take notice of it and you wouldn't see it
through the interface_version number either.

So, its more that resources are missing for that particular feature to
do it once and in the right manner and I invite you and anyone else
who's interested in this functionality to find out how it should
actually work and implement it thereafter.

Thomas.

-- 
only dead fish swim with the stream: http://thomaskeller.biz/blog
Am Anfang war das Wort: http://www.schäuble-muss-weg.de




reply via email to

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