diff -r 783394c0c978 -r 9929af2b09b4 hgext/win32mbcs.py --- a/hgext/win32mbcs.py Thu Jun 01 08:31:21 2017 -0700 +++ b/hgext/win32mbcs.py Sat Jun 03 16:33:28 2017 -0400 @@ -156,7 +156,7 @@ # because they expects argument is local encoded string and cause # problem with unicode string. rfuncs = '''mercurial.encoding.upper mercurial.encoding.lower - mercurial.pycompat.bytestr''' + mercurial.util._filenamebytestr''' # List of Windows specific functions to be wrapped. winfuncs = '''os.path.splitunc'''