# HG changeset patch # User timeless # Date 1474475617 0 # Node ID d532ef155b0e5b8427a520191fcf6e591d766625 # Parent 12eeb3b7da8e6050cefaa098afbc2560138fdc71 help: clarify quotes are needed for filesets.size expressions diff -r 12eeb3b7da8e -r d532ef155b0e mercurial/fileset.py --- a/mercurial/fileset.py Wed Sep 21 20:43:41 2016 +0800 +++ b/mercurial/fileset.py Wed Sep 21 16:33:37 2016 +0000 @@ -345,10 +345,10 @@ def size(mctx, x): """File size matches the given expression. Examples: - - 1k (files from 1024 to 2047 bytes) - - < 20k (files less than 20480 bytes) - - >= .5MB (files at least 524288 bytes) - - 4k - 1MB (files from 4096 bytes to 1048576 bytes) + - size('1k') - files from 1024 to 2047 bytes + - size('< 20k') - files less than 20480 bytes + - size('>= .5MB') - files at least 524288 bytes + - size('4k - 1MB') - files from 4096 bytes to 1048576 bytes """ # i18n: "size" is a keyword