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:
parent
f6f00b46ae
commit
cab3829d2b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user