comparison mercurial/dirs.c @ 28175:c25e3fd38ff1

demandimport: enforce ignore list while processing modules in fromlist If a module is loaded as "from . import x" form, there has been no way to disable demand loading for that module because name is ''. This patch makes it possible to prevent demand loading by '<package-name>.x'. We don't use _hgextimport(_origimport) here since attr is known to be a sub-module name. Adding hgext_ to attr wouldn't make sense.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 06 Feb 2016 19:09:10 +0900
parents fe3a72a3e7ca
children 63e1dca2d6a4
comparison
equal deleted inserted replaced
28174:f16b84b1e40e 28175:c25e3fd38ff1