changeset 32252 | 65cd7e705ff6 |
parent 31843 | 526e4597cca5 |
child 32331 | bd872f64a8ba |
--- a/mercurial/__init__.py Fri Aug 12 11:06:14 2016 +0900 +++ b/mercurial/__init__.py Sat Aug 13 17:21:58 2016 +0900 @@ -165,7 +165,8 @@ if not spec: return None - if fullname.startswith('mercurial.pure.'): + if (fullname.startswith('mercurial.pure.') + and fullname.replace('.pure.', '.') in _dualmodules): spec.name = spec.name.replace('.pure.', '.') # TODO need to support loaders from alternate specs, like zip