Show More
@@ -13,7 +13,8 demandload(globals(), "localrepo bundler | |||
|
13 | 13 | demandload(globals(), "errno lock os shutil util") |
|
14 | 14 | |
|
15 | 15 | def _local(path): |
|
16 |
return os.path.isfile(util.drop_scheme('file', path)) and |
|
|
16 | return (os.path.isfile(path and util.drop_scheme('file', path)) and | |
|
17 | bundlerepo or localrepo) | |
|
17 | 18 | |
|
18 | 19 | schemes = { |
|
19 | 20 | 'bundle': bundlerepo, |
General Comments 0
You need to be logged in to leave comments.
Login now