On Sat, Oct 28, 2006 at 10:01:29PM +0200, Jon Bright wrote: > Richard Levitte - VMS Whacker wrote: > > > >Then you're using something other than --rccode, aren't you? Because > >the above basically fulfills the needs of --rccode, as far as I can > >see. > > No. Using stdin to provide the script would be ideal. But if you're > using automate stdio, stdin is already "taken": you're using it to send > commands to monotone. > > A solution which takes everything up to the first occurrence of some > marker as being script before handing off to automate stdio might work, > but at that point, --rccode may well be cleaner/more elegant.
Random, possibly terrible idea: "automate eval", which takes some lua code and evaluates it in the hook environment. -- Nathaniel -- "The problem...is that sets have a very limited range of activities -- they can't carry pianos, for example, nor drink beer." _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
