How to use bzr inside a python script.
Matthew Hannigan
mlh at zip.com.au
Fri Feb 2 05:28:33 GMT 2007
Care to share the python code? :-)
To run bzr from within python, I think you can take inspiration
from the testsuite.
Regards,
Matt
On Thu, Feb 01, 2007 at 07:43:45PM -0300, Mariano Mara wrote:
> Hi everyone,
> I wrote this Python script that basically connects to an Oracle schema,
> retrieves the whole model and then creates a DML script (let's call it
> output.sql) that can be use to install elsewhere the schema. I want
> output.sql to be versioned with bzr and for that users have an option in
> case they want to commit the new output.sql into a branch.
> My doubt is: how can I call bzr commands from within the python script?
> Can I use it as a imported module? If so, how? or do I need to use it
> as command lines commands?
>
> If you can point me to some documents addressing this kind of
> information, I'll appreciate it.
> Regards
>
>
>
More information about the bazaar
mailing list