So I figured out how to use the hooks. Since I have never ever written a single line of code in Ruby you can assume that everything in this e-mail is wrong.
Attached is my attempt at integrating DITZ with BZR. Save the file in a directory $HOME/.ditz/hooks or $PROJECT/.ditz/hooks with a .rb extension. Hopefully this would help others from spending time searching the web for examples on how to use ditz hooks. Regards, Alex --- On Tue, 22/3/11, Alejandro Liu Ly <[email protected]> wrote: From: Alejandro Liu Ly <[email protected]> Subject: Re: [ditz-talk] How to use hooks To: [email protected] Date: Tuesday, 22 March, 2011, 18:28 So back to my question on how to use hooks... Essentially I want to use the hooks as defined by: ditz --list-hooks. I simply want to run the appropriate SCM command for the after_update, after_delete and after_add hooks are triggered. I can not find any examples on how to do this anywhere. (I am sorry, I don't know Ruby, I just want to be able to use ditz). I looked into the plugins but that did not share much light on how would I do this. Regards Alejandro -----Inline Attachment Follows----- _______________________________________________ ditz-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ditz-talk
bzr.rb
Description: Binary data
_______________________________________________ ditz-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ditz-talk
