aboutsummaryrefslogtreecommitdiff
path: root/contrib/remote-helpers
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-05-24 21:29:24 -0500
committerJunio C Hamano <gitster@pobox.com>2013-05-28 07:59:19 -0700
commitcab3829d2b29b9cd750afd0e342d6f3cae359639 (patch)
treee629797b8e589149951304f0aa8e871d93e5ee3a /contrib/remote-helpers
parentf6f00b46aed220517df3c9808f81ea7ca9576643 (diff)
downloadgit-cab3829d2b29b9cd750afd0e342d6f3cae359639.tar.gz
git-cab3829d2b29b9cd750afd0e342d6f3cae359639.tar.xz
remote-hg: load all extensions
The user might have then configured differently, plus, all of them will be loaded anyway later on. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers')
-rwxr-xr-xcontrib/remote-helpers/git-remote-hg6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 426c1fc54..21f8acdda 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -339,11 +339,7 @@ def get_repo(url, alias):
if get_config_bool('remote-hg.insecure'):
myui.setconfig('web', 'cacerts', '')
- try:
- mod = extensions.load(myui, 'hgext.schemes', None)
- mod.extsetup(myui)
- except ImportError:
- pass
+ extensions.loadall(myui)
if hg.islocal(url):
repo = hg.repository(myui, url)