Show More
@@ -15,11 +15,19 b' Special characters can be used in quoted' | |||
|
15 | 15 | e.g., ``\n`` is interpreted as a newline. To prevent them from being |
|
16 | 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 | 23 | There is a single prefix operator: |
|
19 | 24 | |
|
20 | 25 | ``not x`` |
|
21 | 26 | Files not in x. Short form is ``! x``. |
|
22 | 27 | |
|
28 | Infix | |
|
29 | ===== | |
|
30 | ||
|
23 | 31 | These are the supported infix operators: |
|
24 | 32 | |
|
25 | 33 | ``x and y`` |
@@ -32,10 +40,16 b' These are the supported infix operators:' | |||
|
32 | 40 | ``x - y`` |
|
33 | 41 | Files in x but not in y. |
|
34 | 42 | |
|
43 | Predicates | |
|
44 | ========== | |
|
45 | ||
|
35 | 46 | The following predicates are supported: |
|
36 | 47 | |
|
37 | 48 | .. predicatesmarker |
|
38 | 49 | |
|
50 | Examples | |
|
51 | ======== | |
|
52 | ||
|
39 | 53 | Some sample queries: |
|
40 | 54 | |
|
41 | 55 | - Show status of files that appear to be binary in the working directory:: |
@@ -61,5 +75,3 b' Some sample queries:' | |||
|
61 | 75 | - Remove files listed in foo.lst that contain the letter a or b:: |
|
62 | 76 | |
|
63 | 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