Show More
@@ -284,7 +284,9 def filecheck(ui, path, proto): | |||
|
284 | 284 | def httpcheck(ui, path, proto): |
|
285 | 285 | try: |
|
286 | 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 | 290 | data = rsp.read() |
|
289 | 291 | except urlerr.httperror as inst: |
|
290 | 292 | if inst.code != 404: |
General Comments 0
You need to be logged in to leave comments.
Login now