mercurial/__init__.py
changeset 36617 5246f940a48e
parent 35245 414114a7c18f
child 38785 fb9121ea38c4
--- a/mercurial/__init__.py	Fri Mar 02 18:47:27 2018 -0500
+++ b/mercurial/__init__.py	Sat Mar 03 05:50:45 2018 -0500
@@ -31,6 +31,9 @@
             # Only handle Mercurial-related modules.
             if not fullname.startswith(('mercurial.', 'hgext.', 'hgext3rd.')):
                 return None
+            # don't try to parse binary
+            if fullname.startswith('mercurial.cext.'):
+                return None
             # third-party packages are expected to be dual-version clean
             if fullname.startswith('mercurial.thirdparty'):
                 return None