equal
deleted
inserted
replaced
330 # what normcase does to ASCII strings |
330 # what normcase does to ASCII strings |
331 normcasespec = encoding.normcasespecs.lower |
331 normcasespec = encoding.normcasespecs.lower |
332 # fallback normcase function for non-ASCII strings |
332 # fallback normcase function for non-ASCII strings |
333 normcasefallback = normcase |
333 normcasefallback = normcase |
334 |
334 |
335 if pycompat.sysplatform == 'darwin': |
335 if pycompat.isdarwin: |
336 |
336 |
337 def normcase(path): |
337 def normcase(path): |
338 ''' |
338 ''' |
339 Normalize a filename for OS X-compatible comparison: |
339 Normalize a filename for OS X-compatible comparison: |
340 - escape-encode invalid characters |
340 - escape-encode invalid characters |