[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] [PATCH] change monotone-dumb to use automate stdio
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] [PATCH] change monotone-dumb to use automate stdio |
Date: |
Tue, 18 Oct 2005 11:29:44 -0700 |
User-agent: |
Mutt/1.5.9i |
On Tue, Oct 18, 2005 at 08:20:53PM +0200, Zbynek Winkler wrote:
> I've updated monotone.py from net.venge.monotone.dumb branch to use
> 'automate stdio' for all automate commands. It avoids respawning the
> monotone process for each command. However, for it to be of a real use,
> more automate commands are needed (especially packet handling).
Cool. Want to send me a pubkey so you can check it in?
> + return "l" + "".join([str(len(command))+":"+command for command
> in args]) + "e"
And this could perhaps use some temporary variables or the like for
readability :-).
-- Nathaniel
--
Damn the Solar System. Bad light; planets too distant; pestered with
comets; feeble contrivance; could make a better one myself.
-- Lord Jeffrey