diff mercurial/bundle2.py @ 21133:bef4a2adc532

bundle2: include stderr when capturing handlers output We do not discriminate between stdout and stderr yet. But this will do for now.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 16 Apr 2014 23:18:27 -0400
parents b7435117d951
children 2f8c4fa237f5
line wrap: on
line diff
--- a/mercurial/bundle2.py	Wed Apr 16 23:36:57 2014 -0400
+++ b/mercurial/bundle2.py	Wed Apr 16 23:18:27 2014 -0400
@@ -309,7 +309,7 @@
             # itself represents a defect of a different variety).
             output = None
             if op.reply is not None:
-                op.ui.pushbuffer()
+                op.ui.pushbuffer(error=True)
                 output = ''
             try:
                 handler(op, part)