Embedding Bazaar into C/C++ applications

Joke de Buhr joke.de.buhr at seiken.de
Wed Dec 2 00:34:55 GMT 2009

On Tuesday 01 December 2009 23:31:19 Alessandro Bruni wrote:
> Hello everyone,
> is it possible to embed the Bazaar libraries into C/C++ applications to
>  add version control to them?
> Is there a preferred approach, such as executing the bzr command, using
>  bzr- xmloutput or directly using the APIs within the application?
> My regards,
> Alessandro Bruni

Bazaar is written in Python. The boost project has a very good library for 
interfacing C++ with Python. With Boost.Python you can use the bzrlib api 
from within you C++ application and do whatever you like. Create branches, 
add files or whatever.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091202/608d5cae/attachment.pgp 

More information about the bazaar mailing list