diff mercurial/help/revsets.txt @ 12821:165079e564f0 stable

revsets: generate predicate help dynamically
author Patrick Mezard <pmezard@gmail.com>
date Sat, 23 Oct 2010 19:21:51 +0200
parents 74f6531581e8
children 5f126c01ebfa
line wrap: on
line diff
--- a/mercurial/help/revsets.txt	Sat Oct 23 19:21:49 2010 +0200
+++ b/mercurial/help/revsets.txt	Sat Oct 23 19:21:51 2010 +0200
@@ -45,123 +45,7 @@
 
 The following predicates are supported:
 
-``adds(pattern)``
-  Changesets that add a file matching pattern.
-
-``all()``
-  All changesets, the same as ``0:tip``.
-
-``ancestor(single, single)``
-  Greatest common ancestor of the two changesets.
-
-``ancestors(set)``
-  Changesets that are ancestors of a changeset in set.
-
-``author(string)``
-  Alias for ``user(string)``.
-
-``branch(set)``
-  All changesets belonging to the branches of changesets in set.
-
-``children(set)``
-  Child changesets of changesets in set.
-
-``closed()``
-  Changeset is closed.
-
-``contains(pattern)``
-  Revision contains pattern.
-
-``date(interval)``
-  Changesets within the interval, see :hg:`help dates`.
-
-``descendants(set)``
-  Changesets which are descendants of changesets in set.
-
-``file(pattern)``
-  Changesets affecting files matched by pattern.
-
-``follow()``
-  An alias for ``::.`` (ancestors of the working copy's first parent).
-
-``grep(regex)``
-  Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
-  to ensure special escape characters are handled correctly.
-
-``head()``
-  Changeset is a named branch head.
-
-``heads(set)``
-  Members of set with no children in set.
-
-``id(string)``
-  Revision non-ambiguously specified by the given hex string prefix
-
-``keyword(string)``
-  Search commit message, user name, and names of changed files for
-  string.
-
-``limit(set, n)``
-  First n members of set.
-
-``max(set)``
-  Changeset with highest revision number in set.
-
-``min(set)``
-  Changeset with lowest revision number in set.
-
-``merge()``
-  Changeset is a merge changeset.
-
-``modifies(pattern)``
-  Changesets modifying files matched by pattern.
-
-``outgoing([path])``
-  Changesets not found in the specified destination repository, or the
-  default push location.
-
-``p1(set)``
-  First parent of changesets in set.
-
-``p2(set)``
-  Second parent of changesets in set.
-
-``parents(set)``
-  The set of all parents for all changesets in set.
-
-``present(set)``
-  An empty set, if any revision in set isn't found; otherwise,
-  all revisions in set.
-
-``removes(pattern)``
-  Changesets which remove files matching pattern.
-
-``rev(number)``
-  Revision with the given numeric identifier.
-
-``reverse(set)``
-  Reverse order of set.
-
-``roots(set)``
-  Changesets with no parent changeset in set.
-
-``sort(set[, [-]key...])``
-  Sort set by keys. The default sort order is ascending, specify a key
-  as ``-key`` to sort in descending order.
-
-  The keys can be:
-
-  - ``rev`` for the revision number,
-  - ``branch`` for the branch name,
-  - ``desc`` for the commit message (description),
-  - ``user`` for user name (``author`` can be used as an alias),
-  - ``date`` for the commit date
-
-``tag(name)``
-  The specified tag by name, or all tagged revisions if no name is given.
-
-``user(string)``
-  User name is string.
+.. predicatesmarker
 
 Command line equivalents for :hg:`log`::