Proposal for new hooks
Marco Pantaleoni
marco.pantaleoni at gmail.com
Thu Mar 25 08:30:24 GMT 2010
On Thu, Mar 25, 2010 at 8:50 AM, Ali Sabil <ali.sabil at gmail.com> wrote:
> 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
> >>
>
> Will these hooks allow fixing the following bug:
> https://bugs.launchpad.net/bzr-externals/+bug/485494 ?
>
Well, I don't know the details, but the new 'post_branch_init' hook is
called also for "bzr co --lightweight", and the param object passed to the
hook contains both the original branch from the repository and the BzrDir
object for the lightweight checkout.
Hope this helps.
Marco
--
Marco Pantaleoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20100325/0f2d58eb/attachment.htm
More information about the bazaar
mailing list