##// END OF EJS Templates
convert/svn: fix warning when repo detection failed
Patrick Mezard -
r9860:9c43089b default
parent child Browse files
Show More
@@ -154,8 +154,9 b' def httpcheck(ui, path, proto):'
154 except urllib2.HTTPError, inst:
154 except urllib2.HTTPError, inst:
155 if inst.code != 404:
155 if inst.code != 404:
156 # Except for 404 we cannot know for sure this is not an svn repo
156 # Except for 404 we cannot know for sure this is not an svn repo
157 ui.warn(_('svn: cannot probe remote repository, assume it could be '
157 ui.warn(_('svn: cannot probe remote repository, assume it could '
158 'a subversion repository. Use --source if you know better.\n'))
158 'be a subversion repository. Use --source-type if you '
159 'know better.\n'))
159 return True
160 return True
160 data = inst.fp.read()
161 data = inst.fp.read()
161 except:
162 except:
General Comments 0
You need to be logged in to leave comments. Login now