How do I grab the output of a mercurial command ?

Donszelmann Mark donszelmann at riscure.com
Wed Mar 5 09:28:22 CST 2008


Hi

this is probably an easy question for a "good" Python/Mercurial  
programmer. I am not...

I execute from a python program the command:

	commands.unbundle(self.ui, self.repo, bundle,  
verbose=self.ui.verbose, quiet=self.ui.quiet)

and catch its exceptions. My question is how do I also "catch/grab"  
the output that this command
is writing ("No changesets").

Regards
Mark

===========================
Mark Donszelmann
Software Developer
Riscure
Telephone: +33450410319
Mobile: +41762462623
E-mail: donszelmann at riscure.com
Web: www.riscure.com



More information about the Mercurial mailing list