# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1260720901 -3600 # Node ID e508a718779ccde6234f035fcd0cbceb7885dc19 # Parent bc117ea4c95a1af154b070eb20adfbdfa6fa9306 fallback to the previous scheme for file repositories. This improves compatibility with hg-git. diff --git a/hgsubversion/__init__.py b/hgsubversion/__init__.py --- a/hgsubversion/__init__.py +++ b/hgsubversion/__init__.py @@ -145,12 +145,12 @@ def reposetup(ui, repo): if repo.local(): svnrepo.generate_repo_class(ui, repo) - +_old_local = hg.schemes['file'] def _lookup(url): if util.islocalrepo(url): return svnrepo else: - return hg._local(url) + return _old_local(url) # install scheme handlers hg.schemes.update({ 'file': _lookup, 'http': svnrepo, 'https': svnrepo,