comparison mercurial/help/revsets.txt @ 15962:f7c8d6ee6056 stable

revset: simplify help not about quoting
author Matt Mackall <mpm@selenic.com>
date Fri, 20 Jan 2012 19:22:09 -0600
parents f9c056f48018
children ddbe689af784
comparison
equal deleted inserted replaced
15961:e35f10a8d795 15962:f7c8d6ee6056
2 revisions. 2 revisions.
3 3
4 The language supports a number of predicates which are joined by infix 4 The language supports a number of predicates which are joined by infix
5 operators. Parenthesis can be used for grouping. 5 operators. Parenthesis can be used for grouping.
6 6
7 Identifiers such as branch names must be quoted with single or double 7 Identifiers such as branch names may need quoting with single or
8 quotes if they contain characters outside of 8 double quotes if they contain characters like ``-`` or if they match
9 ``[._a-zA-Z0-9\x80-\xff]`` or if they match one of the predefined 9 one of the predefined predicates.
10 predicates.
11 10
12 Special characters can be used in quoted identifiers by escaping them, 11 Special characters can be used in quoted identifiers by escaping them,
13 e.g., ``\n`` is interpreted as a newline. To prevent them from being 12 e.g., ``\n`` is interpreted as a newline. To prevent them from being
14 interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``. 13 interpreted, strings can be prefixed with ``r``, e.g. ``r'...'``.
15 14