mercurial/httprepo.py
changeset 14648 ba3c36cea66e
parent 14641 f2789767a2c4
child 14955 6349a9eb0178
child 14991 4f39610996fa
--- a/mercurial/httprepo.py	Fri Jun 03 17:27:41 2011 +0300
+++ b/mercurial/httprepo.py	Thu Jun 16 14:33:06 2011 -0500
@@ -193,7 +193,7 @@
                 r = self._call(cmd, data=fp, headers=headers, **args)
                 vals = r.split('\n', 1)
                 if len(vals) < 2:
-                    raise error.ResponseError(_("unexpected response:"), d)
+                    raise error.ResponseError(_("unexpected response:"), r)
                 return vals
             except socket.error, err:
                 if err.args[0] in (errno.ECONNRESET, errno.EPIPE):