Show More
@@ -178,7 +178,7 b' def issvnurl(ui, url):' | |||
|
178 | 178 | path = os.path.abspath(url) |
|
179 | 179 | if proto == 'file': |
|
180 | 180 | path = path.replace(os.sep, '/') |
|
181 |
check = protomap.get(proto, lambda |
|
|
181 | check = protomap.get(proto, lambda *args: False) | |
|
182 | 182 | while '/' in path: |
|
183 | 183 | if check(ui, path, proto): |
|
184 | 184 | return True |
General Comments 0
You need to be logged in to leave comments.
Login now