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


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to