|
From: | Timothy Brownawell |
Subject: | Re: [Monotone-devel] automate sync display branches? |
Date: | Mon, 13 Sep 2010 08:17:38 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100821 Icedove/3.1.2 |
On 09/13/2010 05:48 AM, Stephen Leake wrote:
Stephen Leake<address@hidden> writes:Thomas Keller<address@hidden> writes:As I've written earlier on IRC it might be a good idea to team up with Tim (nvm.netsync) - see the discussion here: http://colabti.de/irclogger/irclogger_log/monotone?date=2010-09-11#l55That does look useful. Tim; should I work directly in nvm.netsync, or branch from there (nvm.netsync.automate)?
Sorry, I've been a bit occupied with other stuff most of the weekend.
First attempt pushed in nvm.netsync.automate; the data collection is there, the output and tests need work. The dryrun and automate stuff do not actually integrate well.
I've got some changes in nvm.netsync that should make it work better. All the counts/items for dry-run output and the notification hooks are stored in future_set objects, which currently live in netsync_connection_info. So it should be possible to just use these, and probably the automate printer doesn't have to care about dry-run vs not.
Right now there's a really nasty hack for creating a netsync_connection_info from nothing in case the session didn't get one when created (server accepting a connection), so probably the future_set objects need to live somewhere new (that still gets passed into the session, so the caller can get the id's / counts back).
-- Timothy Free public monotone hosting: http://mtn-host.prjek.net
[Prev in Thread] | Current Thread | [Next in Thread] |