Show More
@@ -106,7 +106,9 b' class httprepository(remoterepository):' | |||||
106 | try: |
|
106 | try: | |
107 | resp = urllib2.urlopen(cu) |
|
107 | resp = urllib2.urlopen(cu) | |
108 | except httplib.HTTPException, inst: |
|
108 | except httplib.HTTPException, inst: | |
109 |
|
|
109 | self.ui.debug(_('http error while sending %s command\n') % cmd) | |
|
110 | self.ui.print_exc() | |||
|
111 | raise IOError(None, inst) | |||
110 | proto = resp.headers['content-type'] |
|
112 | proto = resp.headers['content-type'] | |
111 |
|
113 | |||
112 | # accept old "text/plain" and "application/hg-changegroup" for now |
|
114 | # accept old "text/plain" and "application/hg-changegroup" for now |
General Comments 0
You need to be logged in to leave comments.
Login now