mercurial/wireproto.py
changeset 21622 457492741007
parent 21620 6eaa71b2a3cc
child 21627 3e8bcc90f07c
--- a/mercurial/wireproto.py	Wed May 28 15:53:34 2014 -0700
+++ b/mercurial/wireproto.py	Wed May 28 15:57:23 2014 -0700
@@ -807,6 +807,8 @@
             bundler = bundle2.bundle20(repo.ui)
             errpart = bundler.newpart('B2X:ERROR:UNSUPPORTEDCONTENT')
             errpart.addparam('parttype', exc.parttype)
+            if exc.params:
+                errpart.addparam('params', '\0'.join(exc.params))
             return streamres(bundler.getchunks())
     except util.Abort, inst:
         # The old code we moved used sys.stderr directly.