Mercurial > hgsubversion
diff hgsubversion/__init__.py @ 849:4e43e30e3e7d
Support non-standard tunnels
Ideally we'd just specify some form of wildcard svn+* pattern, but that isn't possible
without patching mercurial itself as well, so we'll just specify tunnels individually
author | Will Wykeham <will@wykeham.net> |
---|---|
date | Sat, 13 Aug 2011 00:41:08 +0100 |
parents | a3f727c41c1d |
children | 761a87134501 |
line wrap: on
line diff
--- a/hgsubversion/__init__.py +++ b/hgsubversion/__init__.py @@ -177,6 +177,8 @@ def extsetup(): def reposetup(ui, repo): if repo.local(): svnrepo.generate_repo_class(ui, repo) + for tunnel in ui.configlist('hgsubversion', 'tunnels'): + hg.schemes['svn+' + tunnel] = svnrepo _old_local = hg.schemes['file'] def _lookup(url):