changeset 34396:9fb9f8440b71

python3: don't byte mangle third-party packages Third-party packages are already expected to be dual-version clean. Differential Revision: https://phab.mercurial-scm.org/D871
author Siddharth Agarwal <sid0@fb.com>
date Sun, 01 Oct 2017 04:04:18 -0700
parents 41401f502c83
children 765eb17a7eb8
files mercurial/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/__init__.py	Sun Oct 01 03:24:19 2017 -0700
+++ b/mercurial/__init__.py	Sun Oct 01 04:04:18 2017 -0700
@@ -34,6 +34,9 @@
             # selectors2 is already dual-version clean, don't try and mangle it
             if fullname.startswith('mercurial.selectors2'):
                 return None
+            # third-party packages are expected to be dual-version clean
+            if fullname.startswith('mercurial.thirdparty'):
+                return None
             # zstd is already dual-version clean, don't try and mangle it
             if fullname.startswith('mercurial.zstd'):
                 return None