Skip to content
Snippets Groups Projects
Commit 18c1b107898e authored by Sean Farley's avatar Sean Farley
Browse files

revsets: add docs for '%' operator

parent 224dd889ecd0
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,11 @@
``x - y``
Changesets in x but not in y.
``x % y``
Changesets that are ancestors of x but not ancestors of y (i.e. ::x - ::y).
This is shorthand notation for ``only(x, y)`` (see below). The second
argument is optional and, if left out, is equivalent to ``only(x)``.
``x^n``
The nth parent of x, n == 0, 1, or 2.
For n == 0, x; for n == 1, the first parent of each changeset in x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment