diff --git a/mercurial/help/filesets.txt b/mercurial/help/filesets.txt --- a/mercurial/help/filesets.txt +++ b/mercurial/help/filesets.txt @@ -15,11 +15,19 @@ Special characters can be used in quoted e.g., ``\n`` is interpreted as a newline. To prevent them from being interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``. +See also :hg:`help patterns`. + +Prefix +====== + There is a single prefix operator: ``not x`` Files not in x. Short form is ``! x``. +Infix +===== + These are the supported infix operators: ``x and y`` @@ -32,10 +40,16 @@ These are the supported infix operators: ``x - y`` Files in x but not in y. +Predicates +========== + The following predicates are supported: .. predicatesmarker +Examples +======== + Some sample queries: - Show status of files that appear to be binary in the working directory:: @@ -61,5 +75,3 @@ Some sample queries: - Remove files listed in foo.lst that contain the letter a or b:: hg remove "set: 'listfile:foo.lst' and (**a* or **b*)" - -See also :hg:`help patterns`.