D871: python3: don't byte mangle third-party packages

sid0 (Siddharth Agarwal) phabricator at mercurial-scm.org
Sun Oct 1 07:34:40 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9fb9f8440b71: python3: don't byte mangle third-party packages (authored by sid0, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D871?vs=2246&id=2251

REVISION DETAIL
  https://phab.mercurial-scm.org/D871

AFFECTED FILES
  mercurial/__init__.py

CHANGE DETAILS

diff --git a/mercurial/__init__.py b/mercurial/__init__.py
--- a/mercurial/__init__.py
+++ b/mercurial/__init__.py
@@ -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



To: sid0, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list