monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] GUI commit tool


From: Steve Borho
Subject: Re: [Monotone-devel] GUI commit tool
Date: Fri, 19 Jan 2007 18:35:38 -0600
User-agent: KMail/1.9.5

On Friday 19 January 2007 17:42, Olivier Andrieu wrote:
> On 1/19/07, Steve Borho <address@hidden> 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 (address@hidden)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]