projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a66c3f
)
We don't do much with Mercurial's ui, so _dispatch -> dispatch
author
W. Trevor King
<wking@drexel.edu>
Wed, 30 Dec 2009 01:13:43 +0000
(20:13 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 30 Dec 2009 01:13:43 +0000
(20:13 -0500)
libbe/storage/vcs/hg.py
patch
|
blob
|
history
diff --git
a/libbe/storage/vcs/hg.py
b/libbe/storage/vcs/hg.py
index 6baf19ca0c1792cce153efc7c898ec5a4dc3c34b..19e35858de7f6bd5b83812f585188bb715e011af 100644
(file)
--- 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')