# HG changeset patch # User timeless <timel...@mozdev.org> # Date 1474475617 0 # Wed Sep 21 16:33:37 2016 +0000 # Node ID 40410e96c0a2de344edd5a25a7d996731124ee45 # Parent 285a8c3e53f2183438f0cdbc238e4ab851d0d110 # Available At https://bitbucket.org/timeless/mercurial-crew # hg pull https://bitbucket.org/timeless/mercurial-crew -r 40410e96c0a2 help: clarify quotes are needed for filesets.size expressions
diff -r 285a8c3e53f2 -r 40410e96c0a2 mercurial/fileset.py --- a/mercurial/fileset.py Tue May 03 13:36:12 2016 +0900 +++ 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 _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel