Reading bazaar output?

Eduardo O. Padoan eduardo.padoan at
Sun Aug 10 20:11:27 BST 2008

On Sun, Aug 10, 2008 at 3:48 PM, Javier Derderian <javierder at> wrote:
> Hi,
> I'm working on a feature for bzr-gedit that needs reading/grabbing all the
> info bzr writes to stdout, it's an "output window".
> How can i do this, since i'm using bzrlib?
> I mean, how can I do this from "inside" python?

You could redirect the IO to a StringIO file:

But does the bzrlib api produces any output? I mean, this is the work
of the tool, not of the api. But I haven't tryed the extension api
(yet!), so I'm just guessing :)

(Sorry Javier, replying to the list too now)

> Thanks.
> --
> Javier Derderian
> javierder at
> ---
> En la Alegría serás Imbatible

 Eduardo de Oliveira Padoan

More information about the bazaar mailing list