##// END OF EJS Templates
py3: pass URL as str...
Manuel Jacob -
r45560:cb097496 stable
parent child Browse files
Show More
@@ -284,7 +284,9 b' def filecheck(ui, path, proto):'
284 def httpcheck(ui, path, proto):
284 def httpcheck(ui, path, proto):
285 try:
285 try:
286 opener = urlreq.buildopener()
286 opener = urlreq.buildopener()
287 rsp = opener.open(b'%s://%s/!svn/ver/0/.svn' % (proto, path), b'rb')
287 rsp = opener.open(
288 pycompat.strurl(b'%s://%s/!svn/ver/0/.svn' % (proto, path)), b'rb'
289 )
288 data = rsp.read()
290 data = rsp.read()
289 except urlerr.httperror as inst:
291 except urlerr.httperror as inst:
290 if inst.code != 404:
292 if inst.code != 404:
General Comments 0
You need to be logged in to leave comments. Login now