##// END OF EJS Templates
allow None for path of hg.repository
Vadim Gelfer -
r2768:b1b1aa6f default
parent child Browse files
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 bundlerepo or localrepo
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