Reading bazaar output?

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


On Sun, Aug 10, 2008 at 3:48 PM, Javier Derderian <javierder at gmail.com> 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:
http://code.activestate.com/recipes/534166/

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 gmail.com
> ---
> En la Alegría serás Imbatible
>



-- 
 Eduardo de Oliveira Padoan
http://djangopeople.net/edcrypt/
http://whoisi.com/p/514
http://pinax.hotcluboffrance.com/profiles/edcrypt/


More information about the bazaar mailing list