monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] web update hooks & script


From: Thomas Keller
Subject: Re: [Monotone-devel] web update hooks & script
Date: Fri, 26 Jan 2007 19:19:20 +0100
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Hugo Cornelis schrieb:
Mmmh, let me see if I understand this:

So the script 'listens' to a particular branch, and on commit, pushes
the branch to a remote repository or updates a different workspace ?

It updates a different workspace.

Just questions: can you call monotone do to a checkout from the hooks
you use ?  So is it possible to integrate the shell script in the hook
?  Or doesn't it make any sense ?

I tried that, but njs said that its not possible to chdir in monotonerc without screwing things up, so I did this part in an external script. (AFAIK one needs the lua-fs extension to get something like fs.chdir() and I don't know if mtn has this linked.)

Of course _if_ there is a way to incorporate both, then I'm happy to patch it - this was just my first bigger experiment with monotonerc at all =)

Thomas.

--
- "I know that I don't know." (Sokrates)
Guitone, a frontend for monotone: http://guitone.berlios.de
Music lyrics and more: http://musicmademe.com




reply via email to

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