From: W. Trevor King Date: Wed, 30 Dec 2009 01:13:43 +0000 (-0500) Subject: We don't do much with Mercurial's ui, so _dispatch -> dispatch X-Git-Tag: 1.0.0~59^2~52^2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d595aba006a39a2d75067fb7fc82956538e7e16d;p=be.git We don't do much with Mercurial's ui, so _dispatch -> dispatch --- diff --git a/libbe/storage/vcs/hg.py b/libbe/storage/vcs/hg.py index 6baf19c..19e3585 100644 --- a/libbe/storage/vcs/hg.py +++ b/libbe/storage/vcs/hg.py @@ -67,13 +67,12 @@ class Hg(base.VCS): if 'cwd' not in kwargs: kwargs['cwd'] = self.repo assert len(kwargs) == 1, kwargs - ui = mercurial.ui.ui(interactive=False) fullargs = ['--cwd', kwargs['cwd']] fullargs.extend(args) stdout = sys.stdout tmp_stdout = StringIO.StringIO() sys.stdout = tmp_stdout - mercurial.dispatch._dispatch(ui, fullargs) + mercurial.dispatch.dispatch(fullargs) sys.stdout = stdout return tmp_stdout.getvalue().rstrip('\n')