[PATCH] win32mbcs: wrap two more functions
Shun-ichi Goto
shunichi.goto at gmail.com
Wed Jul 6 04:29:14 CDT 2011
# HG changeset patch
# User Shun-ichi GOTO <shunichi.goto at gmail.com>
# Date 1309944522 -32400
# Node ID d6d0b2cf9ff050e9bc8e018221ffd5b62dc2df77
# Parent 4b58d9402c435ebcf8cae63b27ab653ab54d1796
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.
diff -r 4b58d9402c43 -r d6d0b2cf9ff0 hgext/win32mbcs.py
--- a/hgext/win32mbcs.py Thu Dec 09 13:40:28 2010 +0900
+++ 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
More information about the Mercurial-devel
mailing list