# HG changeset patch # User Shun-ichi GOTO # Date 2013-07-04 14:05:59 # Node ID 41c06a02814e29e80f9d30c20bcfb61de7edfafa # Parent 5aeb03b48ab4b65f797bf8a4a2be5007da4faac1 win32mbcs: wrap util.split() util.split() should be wrapped because it is an alias of unsafe os.path.split(). diff --git a/hgext/win32mbcs.py b/hgext/win32mbcs.py --- a/hgext/win32mbcs.py +++ b/hgext/win32mbcs.py @@ -140,7 +140,8 @@ funcs = '''os.path.join os.path.split os os.path.normpath os.makedirs mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath - mercurial.util.checkwinfilename mercurial.util.checkosfilename''' + mercurial.util.checkwinfilename mercurial.util.checkosfilename + mercurial.util.split''' # These functions are required to be called with local encoded string # because they expects argument is local encoded string and cause