equal
deleted
inserted
replaced
174 ui.warn(_('svn: cannot probe remote repository, assume it could ' |
174 ui.warn(_('svn: cannot probe remote repository, assume it could ' |
175 'be a subversion repository. Use --source-type if you ' |
175 'be a subversion repository. Use --source-type if you ' |
176 'know better.\n')) |
176 'know better.\n')) |
177 return True |
177 return True |
178 data = inst.fp.read() |
178 data = inst.fp.read() |
179 except: |
179 except Exception: |
180 # Could be urllib2.URLError if the URL is invalid or anything else. |
180 # Could be urllib2.URLError if the URL is invalid or anything else. |
181 return False |
181 return False |
182 return '<m:human-readable errcode="160013">' in data |
182 return '<m:human-readable errcode="160013">' in data |
183 |
183 |
184 protomap = {'http': httpcheck, |
184 protomap = {'http': httpcheck, |