Mercurial > hg
comparison hgext/win32mbcs.py @ 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 | 4091b0322918 |
children | 80c5b2666a96 |
comparison
equal
deleted
inserted
replaced
19382:5aeb03b48ab4 | 19383:41c06a02814e |
---|---|
138 # they use result of os.path.split() | 138 # they use result of os.path.split() |
139 funcs = '''os.path.join os.path.split os.path.splitext | 139 funcs = '''os.path.join os.path.split os.path.splitext |
140 os.path.normpath os.makedirs | 140 os.path.normpath os.makedirs |
141 mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase | 141 mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase |
142 mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath | 142 mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath |
143 mercurial.util.checkwinfilename mercurial.util.checkosfilename''' | 143 mercurial.util.checkwinfilename mercurial.util.checkosfilename |
144 mercurial.util.split''' | |
144 | 145 |
145 # These functions are required to be called with local encoded string | 146 # These functions are required to be called with local encoded string |
146 # because they expects argument is local encoded string and cause | 147 # because they expects argument is local encoded string and cause |
147 # problem with unicode string. | 148 # problem with unicode string. |
148 rfuncs = '''mercurial.encoding.upper mercurial.encoding.lower''' | 149 rfuncs = '''mercurial.encoding.upper mercurial.encoding.lower''' |