##// END OF EJS Templates
windows: use upper() instead of lower() or os.path.normcase()...
FUJIWARA Katsunori -
r15671:3c5e818a stable
parent child Browse files
Show More
@@ -127,7 +127,9 b' def wrapname(name, wrapper):'
127 # NOTE: os.path.dirname() and os.path.basename() are safe because
127 # NOTE: os.path.dirname() and os.path.basename() are safe because
128 # they use result of os.path.split()
128 # they use result of os.path.split()
129 funcs = '''os.path.join os.path.split os.path.splitext
129 funcs = '''os.path.join os.path.split os.path.splitext
130 os.path.splitunc os.path.normpath os.path.normcase os.makedirs
130 os.path.splitunc os.path.normpath os.makedirs
131 mercurial.windows.normcase
132 mercurial.util.normcase
131 mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase
133 mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase
132 mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath
134 mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath
133 mercurial.util.checkwinfilename mercurial.util.checkosfilename'''
135 mercurial.util.checkwinfilename mercurial.util.checkosfilename'''
@@ -131,7 +131,8 b' def localpath(path):'
131 def normpath(path):
131 def normpath(path):
132 return pconvert(os.path.normpath(path))
132 return pconvert(os.path.normpath(path))
133
133
134 normcase = os.path.normcase
134 def normcase(path):
135 return path.upper()
135
136
136 def realpath(path):
137 def realpath(path):
137 '''
138 '''
General Comments 0
You need to be logged in to leave comments. Login now