changeset 30731:b8a188a6f191

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".
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 08 Jan 2017 12:05:10 -0500
parents 107014f4848b
children d4ec69ff652a
files mercurial/help/filesets.txt mercurial/help/revsets.txt mercurial/help/templates.txt
diffstat 3 files changed, 6 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/filesets.txt	Sun Jan 08 02:43:01 2017 -0500
+++ b/mercurial/help/filesets.txt	Sun Jan 08 12:05:10 2017 -0500
@@ -17,17 +17,14 @@
 
 See also :hg:`help patterns`.
 
-Prefix
-======
+Operators
+=========
 
 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``
--- a/mercurial/help/revsets.txt	Sun Jan 08 02:43:01 2017 -0500
+++ b/mercurial/help/revsets.txt	Sun Jan 08 12:05:10 2017 -0500
@@ -12,17 +12,14 @@
 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``.
 
-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^``
--- a/mercurial/help/templates.txt	Sun Jan 08 02:43:01 2017 -0500
+++ b/mercurial/help/templates.txt	Sun Jan 08 12:05:10 2017 -0500
@@ -52,8 +52,8 @@
 
 .. functionsmarker
 
-Infix
-=====
+Operators
+=========
 
 We provide a limited set of infix arithmetic operations on integers::