Mercurial > hg
changeset 29987:d532ef155b0e
help: clarify quotes are needed for filesets.size expressions
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 21 Sep 2016 16:33:37 +0000 |
parents | 12eeb3b7da8e |
children | 96358865edb3 |
files | mercurial/fileset.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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