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>
This commit is contained in:
Felipe Contreras 2013-05-24 21:29:24 -05:00 committed by Junio C Hamano
parent f6f00b46ae
commit cab3829d2b

View File

@ -339,11 +339,7 @@ def get_repo(url, alias):
if get_config_bool('remote-hg.insecure'): if get_config_bool('remote-hg.insecure'):
myui.setconfig('web', 'cacerts', '') myui.setconfig('web', 'cacerts', '')
try: extensions.loadall(myui)
mod = extensions.load(myui, 'hgext.schemes', None)
mod.extsetup(myui)
except ImportError:
pass
if hg.islocal(url): if hg.islocal(url):
repo = hg.repository(myui, url) repo = hg.repository(myui, url)