[Monotone-devel] mtn lua execute

2006-09-05 Thread Andy Jones
Here's a wild idea for the wishlist. One that shouldn't take much work to implement. We already have mtn db execute to run an unspecified SQL query. How about a similar command to run an unspecified lua function from monotonerc? Maybe mtn db luaexec function [...]? The main use I can see for

Re: [Monotone-devel] mtn lua execute

2006-09-05 Thread Alex Queiroz
Hallo, On 9/5/06, Andy Jones [EMAIL PROTECTED] wrote: Yes, I know you can use mtn automate and the shell to do a great deal. But Lua is +much+ more powerful than Bash. Somehow I knew that someday, someone else would come up with this too. But I was told to use automate stdio, and that

Re: [Monotone-devel] mtn lua execute

2006-09-05 Thread Timothy Brownawell
On Tue, 2006-09-05 at 19:29 +0100, Andy Jones wrote: Here's a wild idea for the wishlist. One that shouldn't take much work to implement. We already have mtn db execute to run an unspecified SQL query. How about a similar command to run an unspecified lua function from monotonerc? Maybe

fwd: [Monotone-devel] mtn lua execute

2006-09-05 Thread Andy Jones
-- Forwarded message -- From: Andy Jones [EMAIL PROTECTED] Date: 05-Sep-2006 22:40 Subject: Re: [Monotone-devel] mtn lua execute To: Timothy Brownawell [EMAIL PROTECTED] Our lua hooks don't/can't make monotone do anything. They're used either to let monotone call external