branch | stable |
changeset 15488 | 6eff984d8e76 |
parent 15353 | ab600a25dfc0 |
child 15499 | 58f96703a9ab |
--- a/mercurial/posix.py Tue Nov 15 17:16:17 2011 +0100 +++ b/mercurial/posix.py Tue Nov 15 14:25:11 2011 -0600 @@ -164,6 +164,10 @@ st2 = os.lstat(fpath2) return st1.st_dev == st2.st_dev +# os.path.normcase is a no-op, which doesn't help us on non-native filesystems +def normcase(path): + return path.lower() + if sys.platform == 'darwin': import fcntl # only needed on darwin, missing on jython def realpath(path):