mercurial/extensions.py
changeset 28541 4b81487a01d4
parent 28506 10252652c6e4
child 29162 5a3197cbe415
equal deleted inserted replaced
28540:012411b9940d 28541:4b81487a01d4
   103     else:
   103     else:
   104         try:
   104         try:
   105             mod = _importh("hgext.%s" % name)
   105             mod = _importh("hgext.%s" % name)
   106         except ImportError as err:
   106         except ImportError as err:
   107             _reportimporterror(ui, err, "hgext.%s" % name, name)
   107             _reportimporterror(ui, err, "hgext.%s" % name, name)
   108             mod = _importh(name)
   108             try:
       
   109                 mod = _importh("hgext3rd.%s" % name)
       
   110             except ImportError as err:
       
   111                 _reportimporterror(ui, err, "hgext3rd.%s" % name, name)
       
   112                 mod = _importh(name)
   109 
   113 
   110     # Before we do anything with the extension, check against minimum stated
   114     # Before we do anything with the extension, check against minimum stated
   111     # compatibility. This gives extension authors a mechanism to have their
   115     # compatibility. This gives extension authors a mechanism to have their
   112     # extensions short circuit when loaded with a known incompatible version
   116     # extensions short circuit when loaded with a known incompatible version
   113     # of Mercurial.
   117     # of Mercurial.