diff -r 602add6ad9e5 -r f6d1e92fdf8c mercurial/osutil.c --- a/mercurial/osutil.c Wed Jan 13 10:10:05 2016 -0600 +++ b/mercurial/osutil.c Thu Jan 14 12:37:15 2016 -0600 @@ -458,7 +458,7 @@ requested_attr.bitmapcount = ATTR_BIT_MAP_COUNT; requested_attr.commonattr = (ATTR_CMN_NAME | ATTR_CMN_OBJTYPE | ATTR_CMN_MODTIME | ATTR_CMN_ACCESSMASK); - requested_attr.fileattr = ATTR_FILE_TOTALSIZE; + requested_attr.fileattr = ATTR_FILE_DATALENGTH; *fallback = false;