[PATCH 5 of 5] transplant: use ui out descriptor when calling util.system
Idan Kamara
idankk86 at gmail.com
Fri Jun 24 11:32:10 CDT 2011
# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1308932873 -10800
# Branch stable
# Node ID e8052fbfe213d433c04e7874d6c72306f5fcd865
# Parent f1e7fcb40ec0df027fd194482503a744b421e30a
transplant: use ui out descriptor when calling util.system
diff -r f1e7fcb40ec0 -r e8052fbfe213 hgext/transplant.py
--- a/hgext/transplant.py Fri Jun 24 17:04:37 2011 +0300
+++ b/hgext/transplant.py Fri Jun 24 19:27:53 2011 +0300
@@ -200,7 +200,8 @@
environ={'HGUSER': changelog[1],
'HGREVISION': revlog.hex(node),
},
- onerr=util.Abort, errprefix=_('filter failed'))
+ onerr=util.Abort, errprefix=_('filter failed'),
+ out=self.ui.fout)
user, date, msg = self.parselog(file(headerfile))[1:4]
finally:
os.unlink(headerfile)
More information about the Mercurial-devel
mailing list