front-end developers/bzrlib non-plugin users - heads up, bzrlib.initialize changes in 2.2

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Tue Jun 22 13:32:56 BST 2010


On Monday 21 Jun 2010 05:57:12 Robert Collins wrote:
> bzrlib.initialize is a fairly new helper function used to get bzrlib
> ready to use. It is being changed in an incompatible fashion in 2.2
> (the change is playing in PQM now, and is in NEWS).
...
> One advantage of the change we have made is that it can be detected at
> runtime. Here is how you might handle 2.1 and 2.2 in the same code:
> state = bzrlib.initialise()
> if state:
>     state.__enter__()
> try:
>     # do stuff
> finally:
>     if state:
>         state.__exit__(None, None, None)
> 

Great news, that will definitely be useful.  However AFAICS, there is no 
`bzrlib.initialise` in < 2.2 (looks like it was added in 2.2.0b1).  Or is it 
going to be backported to 2.1?


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




More information about the bazaar mailing list