##// END OF EJS Templates
Try to import extensions from the hgext module first.
Thomas Arendsen Hein -
r1889:46873091 default
parent child Browse files
Show More
@@ -2795,7 +2795,10 b' def dispatch(args):'
2795 mod = getattr(mod, comp)
2795 mod = getattr(mod, comp)
2796 return mod
2796 return mod
2797 try:
2797 try:
2798 mod = importh(x[0])
2798 try:
2799 mod = importh("hgext." + x[0])
2800 except ImportError:
2801 mod = importh(x[0])
2799 except Exception, inst:
2802 except Exception, inst:
2800 on_exception(Exception, inst)
2803 on_exception(Exception, inst)
2801 continue
2804 continue
General Comments 0
You need to be logged in to leave comments. Login now