changeset 18696 | d23f61b6617f |
parent 17221 | 988974c2a4bf |
child 18697 | 4921b5c2aeed |
--- a/mercurial/httppeer.py Fri Feb 15 15:06:43 2013 -0600 +++ b/mercurial/httppeer.py Sun Feb 17 14:41:31 2013 -0600 @@ -151,7 +151,7 @@ raise error.RepoError( _("'%s' does not appear to be an hg repository:\n" "---%%<--- (%s)\n%s\n---%%<---\n") - % (safeurl, proto or 'no content-type', resp.read())) + % (safeurl, proto or 'no content-type', resp.read(1024))) if proto.startswith('application/mercurial-'): try: