diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-05-24 21:29:24 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-28 07:59:19 -0700 |
commit | cab3829d2b29b9cd750afd0e342d6f3cae359639 (patch) | |
tree | e629797b8e589149951304f0aa8e871d93e5ee3a | |
parent | remote-hg: test: simplify previous branch checkout (diff) | |
download | tgif-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>
-rwxr-xr-x | contrib/remote-helpers/git-remote-hg | 6 |
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) |