Browse Source

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>
maint
Felipe Contreras 12 years ago committed by Junio C Hamano
parent
commit
cab3829d2b
  1. 6
      contrib/remote-helpers/git-remote-hg

6
contrib/remote-helpers/git-remote-hg

@ -339,11 +339,7 @@ def get_repo(url, alias): @@ -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)

Loading…
Cancel
Save