In message <[EMAIL PROTECTED]> on Sat, 28 Oct 2006 20:48:51 +0200, Jon Bright 
<[EMAIL PROTECTED]> said:

jon> ...or (as is probably most useful for the plugin), write out some
jon> temporary rc file and use --rcfile.  That said, to avoid this
jon> kind of playing with temporary files, it might be useful if
jon> monotone started taking a --rccode="...LUA code..." parameter?

Hey bud, check this out (I discovered while looking around the code to
see how hard it would be to implement --rccode :-)):

: ; echo 'io.stderr:write "FOO!\n"' | mtn heads --rcfile=-
FOO!
mtn: grenen 'net.venge.monotone' har för tillfället ett löv:
970b5cf42c0202a0b1a236ed7034f47c117c2f79 [EMAIL PROTECTED] [EMAIL PROTECTED] 
2006-10-27T11:48:03 2006-10-27T14:20:29

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

--
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to