On Friday 19 January 2007 17:42, Olivier Andrieu wrote: > On 1/19/07, Steve Borho <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm trying to add a Monotone back-end to my GUI commit tool Qct. I > > have most of it working now except for the actual commit itself. > > Monotone is expecting a passphrase to be entered on the command line in > > order to accept the commit, and this is anathema to a GUI app. Is > > there a way around this (can I ask for the passphrase in a popup window > > then pass it to 'mtn commit' somehow)? > > there's a hook (get_passphrase) in the user's monotonerc file for this > kind of things: > http://venge.net/monotone/docs/Hooks.html#index-get_005fpassphrase-_0028_00 >40var_007bkeypair_005fid_007d_0029-180
This works great, thanks. I'll add that to the documentation. It seems that the Monotone back-end is in pretty good shape now, if anyone wants to give it a try, you can download the Qct tip from here: http://hg.borho.org/qct/archive/tip.tar.gz I think I'll refactor the working directory scan to take advantage of automate inventory, since it looks to be much more efficient than my current hodge podge of 'mtn list' and 'mtn status' calls. -- Steve Borho ([EMAIL PROTECTED]) http://www.borho.org/~steve/steve.asc Key fingerprint = 2D08 E7CF B624 624C DE1F E2E4 B0C2 5292 F2C6 2C8C _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
