summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/git-remote-hg
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-05-24 21:29:24 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-28 07:59:19 -0700
commitcab3829d2b29b9cd750afd0e342d6f3cae359639 (patch)
treee629797b8e589149951304f0aa8e871d93e5ee3a /contrib/remote-helpers/git-remote-hg
parentremote-hg: test: simplify previous branch checkout (diff)
downloadtgif-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/git-remote-hg')
-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 426c1fc54a..21f8acdda8 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)