[PATCH] windows: add comment in normcase()

Adrian Buehlmann adrian at cadifra.com
Thu May 14 04:40:49 CDT 2015


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1431596256 -7200
# Node ID 2baa4e1644df6e601697f6266e1d65e47189f1d7
# Parent  23569147cb815cbf27dca415289bc9cdc254583f
windows: add comment in normcase()

see also 3c5e818ac679

diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -139,7 +139,7 @@
     return pconvert(os.path.normpath(path))
 
 def normcase(path):
-    return encoding.upper(path)
+    return encoding.upper(path) # NTFS compares via upper()
 
 # see posix.py for definitions
 normcasespec = encoding.normcasespecs.upper


More information about the Mercurial-devel mailing list