equal
deleted
inserted
replaced
103 mod = loadpath(path, 'hgext.%s' % name) |
103 mod = loadpath(path, 'hgext.%s' % name) |
104 else: |
104 else: |
105 try: |
105 try: |
106 mod = _importh("hgext.%s" % name) |
106 mod = _importh("hgext.%s" % name) |
107 except ImportError as err: |
107 except ImportError as err: |
108 _reportimporterror(ui, err, "hgext.%s" % name, name) |
108 _reportimporterror(ui, err, "hgext.%s" % name, "hgext3rd.%s" % name) |
109 try: |
109 try: |
110 mod = _importh("hgext3rd.%s" % name) |
110 mod = _importh("hgext3rd.%s" % name) |
111 except ImportError as err: |
111 except ImportError as err: |
112 _reportimporterror(ui, err, "hgext3rd.%s" % name, name) |
112 _reportimporterror(ui, err, "hgext3rd.%s" % name, name) |
113 mod = _importh(name) |
113 mod = _importh(name) |