Proposal for new hooks
Andrew Bennetts
andrew.bennetts at canonical.com
Wed Mar 24 23:58:19 GMT 2010
Marco Pantaleoni wrote:
> Hi,
> after asking for this functionality
> ([1]https://answers.launchpad.net/bzr/+question/105308), I added the
> following hooks to Bazaar:
>
> �* post_branch - called when a new branch is created
> �* post_switch - called after a checkout is switched to a different branch
> �* post_repo_init - called after a repository has been created
>
> These can be useful for example to write an application that keeps track
> of branches, checkouts and repositories (which is what I am doing btw).
They sound useful to me. Please submit a merge proposal!
Btw, for consistency and clarity, I'd rename post_branch to post_branch_init,
assuming I'm understanding your description above correctly.
Thanks!
-Andrew.
More information about the bazaar
mailing list