On Thu, Mar 25, 2010 at 12:58 AM, Andrew Bennetts <span dir="ltr"><<a href="mailto:andrew.bennetts@canonical.com">andrew.bennetts@canonical.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Marco Pantaleoni wrote:<br>
> Hi,<br>
> after asking for this functionality<br>
</div>> ([1]<a href="https://answers.launchpad.net/bzr/+question/105308" target="_blank">https://answers.launchpad.net/bzr/+question/105308</a>), I added the<br>
<div class="im">> following hooks to Bazaar:<br>
><br>
> �* post_branch - called when a new branch is created<br>
> �* post_switch - called after a checkout is switched to a different branch<br>
> �* post_repo_init - called after a repository has been created<br>
><br>
> These can be useful for example to write an application that keeps track<br>
> of branches, checkouts and repositories (which is what I am doing btw).<br>
<br>
</div>They sound useful to me. Please submit a merge proposal!<br>
<br>
Btw, for consistency and clarity, I'd rename post_branch to post_branch_init,<br>
assuming I'm understanding your description above correctly.<br></blockquote></div><br>Ok, I've renamed post_branch to post_branch_init and submitted the merge proposal.<br clear="all">Thanks for the feedback!<br>
<br>Marco<br><br>-- <br>Marco Pantaleoni<br><br>