Skip to content
Snippets Groups Projects
Commit b8a188a6 authored by Matt Harbison's avatar Matt Harbison
Browse files

help: merge the various operator sections of revsets, filesets and templates

Having sections for specific operator types assumes the user already knows what
type of operators are supported.  By having a common heading, the user can
simply lookup help for "(revsets|filesets|templates).operators".
parent 107014f4
No related branches found
No related tags found
No related merge requests found
......@@ -17,11 +17,11 @@
See also :hg:`help patterns`.
Prefix
======
Operators
=========
There is a single prefix operator:
``not x``
Files not in x. Short form is ``! x``.
......@@ -22,12 +22,9 @@
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``
......
......@@ -12,11 +12,11 @@
e.g., ``\n`` is interpreted as a newline. To prevent them from being
interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``.
Prefix
======
Operators
=========
There is a single prefix operator:
``not x``
Changesets not in x. Short form is ``! x``.
......@@ -17,12 +17,9 @@
There is a single prefix operator:
``not x``
Changesets not in x. Short form is ``! x``.
Infix
=====
These are the supported infix operators:
``x::y``
......@@ -77,9 +74,6 @@
in this case. This matches against all of "issue 1234", "issue:1234",
"issue1234" and "bug(1234)".
Postfix
=======
There is a single postfix operator:
``x^``
......
......@@ -52,8 +52,8 @@
.. functionsmarker
Infix
=====
Operators
=========
We provide a limited set of infix arithmetic operations on integers::
......
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