monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] auto updates


From: Julio M. Merino Vidal
Subject: Re: [Monotone-devel] auto updates
Date: Fri, 20 Oct 2006 23:53:48 +0200

On 10/20/06, Brian May <address@hidden> wrote:
Hello.

Is possible to get something like this to work?

address@hidden:/tmp$ cat /home/brian/.monotone/monotonerc
function note_netsync_end(nonce)
        chdir("/home/brian/tree/config")
        execute("mtn","update")
end

Ideally I would like it only to update if a specific branch (possible)
in a specific db file is touched (not sure if this is possible).

I guess something like the following should work:

execute("sh", "-c", "cd /home/brian/tree/config && mtn update")

(Assuming this it not on Windows.)

--
Julio M. Merino Vidal <address@hidden>
The Julipedia - http://julipedia.blogspot.com/




reply via email to

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