changeset 18738 | b376e8f91c16 |
parent 18737 | 56f8522c3591 |
child 18742 | a07be8953733 |
--- a/mercurial/httppeer.py Sun Feb 17 14:34:53 2013 -0600 +++ b/mercurial/httppeer.py Sun Feb 17 14:41:31 2013 -0600 @@ -152,7 +152,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: