Johann's bzr request

James Blackwell jblack at merconline.com
Thu Sep 22 07:07:13 BST 2005


----- Forwarded message from Johann Borck <johann> -----

 From: Johann Borck
 To: jblack at gnuarch.org
 Subject: bzr

Hi James,
i'd like to know if there's a way to use bzr from python directly, i
looked around a little, but didn't find a way to get around the printed
output without changing each cmd_xxx class. what i'd need is the return
values from the commands, for example revno, will i have to use
commands.getoutput() or similar and start a new process for each
command, or is there a way to use bzr as a library? I'm planning to use
bzr for versioning in a sourcecode-manager which is used to update and
reimport modules of a server at runtime to be able to test new or
updated modules and fall back to the past version if the tests fail.
thanks in advance and regards
Johann


-- 
 James Blackwell      |   Try out the blog planet for revision control
 Tell someone a joke! |   at http://planet.revisioncontrol.net
----------------------------------------------------------------------
GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400





More information about the bazaar mailing list