Mercurial > hg
comparison mercurial/hg.py @ 4853:bf10a03a6b24
Removed deprecated hg:// and old-http:// protocols (issue406)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 08 Jul 2007 09:54:42 +0200 |
parents | 616a5adbf402 |
children | 97b734fb9c6f |
comparison
equal
deleted
inserted
replaced
4852:edd07be943dd | 4853:bf10a03a6b24 |
---|---|
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(':') |