diff mercurial/fileset.py @ 25998:a7527c5769bb

merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 10 Aug 2015 15:30:28 -0500
parents e194ada8d45f 23c4589fc678
children fc65d63ef3b9
line wrap: on
line diff
--- 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