mercurial/__init__.py
changeset 31316 f8d41edd0357
parent 31160 7c54917b31f6
child 31370 8a17c541177f
--- a/mercurial/__init__.py	Fri Mar 03 14:42:56 2017 -0500
+++ b/mercurial/__init__.py	Wed Mar 08 18:11:19 2017 -0500
@@ -137,6 +137,9 @@
             # Only handle Mercurial-related modules.
             if not fullname.startswith(('mercurial.', 'hgext.', 'hgext3rd.')):
                 return None
+            # zstd is already dual-version clean, don't try and mangle it
+            if fullname.startswith('mercurial.zstd'):
+                return None
 
             # This assumes Python 3 doesn't support loading C modules.
             if fullname in _dualmodules: