changeset 19383:41c06a02814e

win32mbcs: wrap util.split() util.split() should be wrapped because it is an alias of unsafe os.path.split().
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Thu, 04 Jul 2013 23:05:59 +0900
parents 5aeb03b48ab4
children 96fd9af75834
files hgext/win32mbcs.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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