Skip to content

Commit

Permalink
remote-hg: load all extensions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed May 28, 2013
1 parent f6f00b4 commit cab3829
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contrib/remote-helpers/git-remote-hg
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cab3829

Please sign in to comment.