# HG changeset patch # User Shun-ichi GOTO # Date 1372946759 -32400 # 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 -r 5aeb03b48ab4 -r 41c06a02814e hgext/win32mbcs.py --- a/hgext/win32mbcs.py Mon Jul 01 06:50:58 2013 +0200 +++ b/hgext/win32mbcs.py Thu Jul 04 23:05:59 2013 +0900 @@ -140,7 +140,8 @@ 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