aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-29 20:13:43 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-29 20:13:43 -0500
commitd595aba006a39a2d75067fb7fc82956538e7e16d (patch)
tree948f6ead7b0c7f8e9378cfb0504206d721678c0e /libbe/storage
parent1a66c3f33c4ccbdf1c430c0d6af3d028ef261d4b (diff)
downloadbugseverywhere-d595aba006a39a2d75067fb7fc82956538e7e16d.tar.gz
We don't do much with Mercurial's ui, so _dispatch -> dispatch
Diffstat (limited to 'libbe/storage')
-rw-r--r--libbe/storage/vcs/hg.py3
1 files changed, 1 insertions, 2 deletions
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')