win32mbcs: wrap util.split()
authorShun-ichi GOTO <shunichi.goto@gmail.com>
Thu, 04 Jul 2013 23:05:59 +0900
changeset 19383 41c06a02814e
parent 19382 5aeb03b48ab4
child 19384 96fd9af75834
win32mbcs: wrap util.split() util.split() should be wrapped because it is an alias of unsafe os.path.split().
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