Proposal for new hooks

Ali Sabil ali.sabil at gmail.com
Thu Mar 25 07:50:24 GMT 2010


On Thu, Mar 25, 2010 at 12:58 AM, Andrew Bennetts
<andrew.bennetts at canonical.com> wrote:
> 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.
>

Will these hooks allow fixing the following bug:
https://bugs.launchpad.net/bzr-externals/+bug/485494 ?



More information about the bazaar mailing list