##// END OF EJS Templates
help: apply the section headings from revsets to filesets...
Matt Harbison -
r30729:a4bc8fff default
parent child Browse files
Show More
@@ -15,11 +15,19 b' Special characters can be used in quoted'
15 e.g., ``\n`` is interpreted as a newline. To prevent them from being
15 e.g., ``\n`` is interpreted as a newline. To prevent them from being
16 interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``.
16 interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``.
17
17
18 See also :hg:`help patterns`.
19
20 Prefix
21 ======
22
18 There is a single prefix operator:
23 There is a single prefix operator:
19
24
20 ``not x``
25 ``not x``
21 Files not in x. Short form is ``! x``.
26 Files not in x. Short form is ``! x``.
22
27
28 Infix
29 =====
30
23 These are the supported infix operators:
31 These are the supported infix operators:
24
32
25 ``x and y``
33 ``x and y``
@@ -32,10 +40,16 b' These are the supported infix operators:'
32 ``x - y``
40 ``x - y``
33 Files in x but not in y.
41 Files in x but not in y.
34
42
43 Predicates
44 ==========
45
35 The following predicates are supported:
46 The following predicates are supported:
36
47
37 .. predicatesmarker
48 .. predicatesmarker
38
49
50 Examples
51 ========
52
39 Some sample queries:
53 Some sample queries:
40
54
41 - Show status of files that appear to be binary in the working directory::
55 - Show status of files that appear to be binary in the working directory::
@@ -61,5 +75,3 b' Some sample queries:'
61 - Remove files listed in foo.lst that contain the letter a or b::
75 - Remove files listed in foo.lst that contain the letter a or b::
62
76
63 hg remove "set: 'listfile:foo.lst' and (**a* or **b*)"
77 hg remove "set: 'listfile:foo.lst' and (**a* or **b*)"
64
65 See also :hg:`help patterns`.
General Comments 0
You need to be logged in to leave comments. Login now