Show More
@@ -145,7 +145,8 b' class httppeer(wireproto.wirepeer):' | |||||
145 | raise error.OutOfBandError(resp.read()) |
|
145 | raise error.OutOfBandError(resp.read()) | |
146 | # accept old "text/plain" and "application/hg-changegroup" for now |
|
146 | # accept old "text/plain" and "application/hg-changegroup" for now | |
147 | if not (proto.startswith('application/mercurial-') or |
|
147 | if not (proto.startswith('application/mercurial-') or | |
148 |
proto.startswith('text/plain') |
|
148 | (proto.startswith('text/plain') | |
|
149 | and not resp.headers.get('content-length')) or | |||
149 | proto.startswith('application/hg-changegroup')): |
|
150 | proto.startswith('application/hg-changegroup')): | |
150 | self.ui.debug("requested URL: '%s'\n" % util.hidepassword(cu)) |
|
151 | self.ui.debug("requested URL: '%s'\n" % util.hidepassword(cu)) | |
151 | raise error.RepoError( |
|
152 | raise error.RepoError( |
General Comments 0
You need to be logged in to leave comments.
Login now