Proposal for new hooks
Marco Pantaleoni
marco.pantaleoni at gmail.com
Thu Mar 25 08:21:17 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.
>
Ok, I've renamed post_branch to post_branch_init and submitted the merge
proposal.
Thanks for the feedback!
Marco
--
Marco Pantaleoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20100325/fbd2bbca/attachment.htm
More information about the bazaar
mailing list