equal
deleted
inserted
replaced
19 bundlerepo or localrepo) |
19 bundlerepo or localrepo) |
20 |
20 |
21 schemes = { |
21 schemes = { |
22 'bundle': bundlerepo, |
22 'bundle': bundlerepo, |
23 'file': _local, |
23 'file': _local, |
24 'hg': httprepo, |
|
25 'http': httprepo, |
24 'http': httprepo, |
26 'https': httprepo, |
25 'https': httprepo, |
27 'old-http': statichttprepo, |
|
28 'ssh': sshrepo, |
26 'ssh': sshrepo, |
29 'static-http': statichttprepo, |
27 'static-http': statichttprepo, |
30 } |
28 } |
31 |
29 |
32 def _lookup(path): |
30 def _lookup(path): |
33 scheme = 'file' |
31 scheme = 'file' |
34 if path: |
32 if path: |
35 c = path.find(':') |
33 c = path.find(':') |