hi,<br><br>I would like to have a single post commit hook for all my trac-s<br>I've seen: <a href="http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/hooks.html">http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/hooks.html</a><br>
<br>the trac hook should call<br>$ trac-admin $ENV changeset added "openerp-6" $REV<br><br>where $ENV is a directory path to my trac instance.<br><br>my first question is how could I get $REV?<br><br>the second needs a bit of explanation<br>
I have several projects, and my repo is organised the same way, e.g.<br>if $ENV is /var/tracprojects/myproj, then my bzr repo is at /var/bzr/myproj<br>so how can I get the path of the current bzr repo the hook is called on?<br>
<br>thanks, Viktor<br>