changeset 14841:6990340c57a8 stable

win32mbcs: wrap two more functions to be wrapped. util.checkwinfilename() and util.checkosfilename() are wrapped. The former, used by scmutil, is not friendly for Shift_JIS bytes. The latter is an dynamic alias of checkwinfilename() used by other modules.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Wed, 06 Jul 2011 18:28:42 +0900
parents 308e1b5acc87
children 805651777188
files hgext/win32mbcs.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/win32mbcs.py	Tue Jul 05 14:30:42 2011 -0500
+++ b/hgext/win32mbcs.py	Wed Jul 06 18:28:42 2011 +0900
@@ -129,7 +129,8 @@
 funcs = '''os.path.join os.path.split os.path.splitext
  os.path.splitunc os.path.normpath os.path.normcase os.makedirs
  mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase
- mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath'''
+ mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath
+ mercurial.util.checkwinfilename mercurial.util.checkosfilename'''
 
 # codec and alias names of sjis and big5 to be faked.
 problematic_encodings = '''big5 big5-tw csbig5 big5hkscs big5-hkscs