##// END OF EJS Templates
httppeer: avoid large dumps when we don't see an hgweb repo...
Matt Mackall -
r18738:b376e8f9 default
parent child Browse files
Show More
@@ -152,7 +152,7 b' class httppeer(wireproto.wirepeer):'
152 raise error.RepoError(
152 raise error.RepoError(
153 _("'%s' does not appear to be an hg repository:\n"
153 _("'%s' does not appear to be an hg repository:\n"
154 "---%%<--- (%s)\n%s\n---%%<---\n")
154 "---%%<--- (%s)\n%s\n---%%<---\n")
155 % (safeurl, proto or 'no content-type', resp.read()))
155 % (safeurl, proto or 'no content-type', resp.read(1024)))
156
156
157 if proto.startswith('application/mercurial-'):
157 if proto.startswith('application/mercurial-'):
158 try:
158 try:
General Comments 0
You need to be logged in to leave comments. Login now