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 коммит произвёл Junio C Hamano
Родитель f6f00b46ae
Коммит cab3829d2b
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -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)