changeset 32554:942051a29fb6

loader: pywatchman appears to already be py3 compatible Our loader was doing some confusing things in pywatchman, but it looks like we shouldn't be using it there anyway.
author Augie Fackler <raf@durin42.com>
date Sun, 28 May 2017 15:45:47 -0400
parents dc0da9829c29
children 9ed70525fd6e
files mercurial/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/__init__.py	Sun May 28 17:02:24 2017 -0400
+++ b/mercurial/__init__.py	Sun May 28 15:45:47 2017 -0400
@@ -34,6 +34,9 @@
             # zstd is already dual-version clean, don't try and mangle it
             if fullname.startswith('mercurial.zstd'):
                 return None
+            # pywatchman is already dual-version clean, don't try and mangle it
+            if fullname.startswith('hgext.fsmonitor.pywatchman'):
+                return None
 
             # Try to find the module using other registered finders.
             spec = None