Mercurial > hg
changeset 923:c7a3b88505cd
Add basic https support for pull
author | mpm@selenic.com |
---|---|
date | Tue, 16 Aug 2005 17:12:25 -0800 |
parents | f4c7ad186983 |
children | ab681ea2857e |
files | mercurial/hg.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Tue Aug 16 15:55:33 2005 -0800 +++ b/mercurial/hg.py Tue Aug 16 17:12:25 2005 -0800 @@ -2199,10 +2199,15 @@ l = int(self.pipei.readline()) return self.pipei.read(l) != "" +class httpsrepository(httprepository): + pass + def repository(ui, path=None, create=0): if path: if path.startswith("http://"): return httprepository(ui, path) + if path.startswith("https://"): + return httpsrepository(ui, path) if path.startswith("hg://"): return httprepository(ui, path.replace("hg://", "http://")) if path.startswith("old-http://"):