mercurial/fileset.py
changeset 25998 a7527c5769bb
parent 25938 e194ada8d45f
parent 25925 23c4589fc678
child 26194 fc65d63ef3b9
--- a/mercurial/fileset.py	Sat Aug 08 18:52:59 2015 -0700
+++ b/mercurial/fileset.py	Mon Aug 10 15:30:28 2015 -0500
@@ -295,7 +295,7 @@
 
 def _sizetomax(s):
     try:
-        s = s.strip()
+        s = s.strip().lower()
         for k, v in util._sizeunits:
             if s.endswith(k):
                 # max(4k) = 5k - 1, max(4.5k) = 4.6k - 1