Mercurial > hg-stable
changeset 14648:ba3c36cea66e
http: fix variable name in unexpected response message
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Jun 2011 14:33:06 -0500 |
parents | 2e9f379de0ac |
children | a6a8809c6e33 |
files | mercurial/httprepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):