##// END OF EJS Templates
revsets: add docs for '%' operator
Sean Farley -
r29030:18c1b107 stable
parent child Browse files
Show More
@@ -42,6 +42,11 b' These are the supported infix operators:'
42 ``x - y``
42 ``x - y``
43 Changesets in x but not in y.
43 Changesets in x but not in y.
44
44
45 ``x % y``
46 Changesets that are ancestors of x but not ancestors of y (i.e. ::x - ::y).
47 This is shorthand notation for ``only(x, y)`` (see below). The second
48 argument is optional and, if left out, is equivalent to ``only(x)``.
49
45 ``x^n``
50 ``x^n``
46 The nth parent of x, n == 0, 1, or 2.
51 The nth parent of x, n == 0, 1, or 2.
47 For n == 0, x; for n == 1, the first parent of each changeset in x;
52 For n == 0, x; for n == 1, the first parent of each changeset in x;
General Comments 0
You need to be logged in to leave comments. Login now