Capturing stdout with pushbuffer and popbuffer
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Feb 26 12:44:20 CST 2010
On Fri, Feb 26, 2010 at 12:30, Alfredo Deza <alfredodeza at gmail.com> wrote:
> u = ui.ui()
> u.pushbuffer()
> r = hg.repository(u, path=".")
> commands.update(u, r)
> u.popbuffer()
Try pushing the buffer of r.ui instead...
> Can you guys catch what I am doing wrong? I spend a good chunk of time
> yesterday looking for examples but most of the ones that I found were not
> very helpful.
This is a little annoying. I'd say that maybe we should inherit the
buffer if we copy the UI?
Cheers,
Dirkjan
More information about the Mercurial
mailing list