Embedding Bazaar into C/C++ applications

Martin Pool mbp at canonical.com
Wed Dec 2 00:28:03 GMT 2009


2009/12/2 Alessandro Bruni <alessandro.bruni at gmail.com>:
> 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?

Generally we would recommend running it as a subprocess and using
xmloutput or just parsing the regular output.  But it depends a bit on
what specifically you want to do.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list