[PATCH 2 of 6 STABLE] doc: add explanation when 'present()' revset predicate is useful

Matt Mackall mpm at selenic.com
Fri Apr 27 11:51:41 CDT 2012


On Thu, 2012-04-26 at 21:38 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1335443568 -32400
> # Branch stable
> # Node ID d2a517b2eac27ee880038080babb8eea47f3ee1b
> # Parent  366b70de30e317936fc99a8f7db38e35e5fecce4
> doc: add explanation when 'present()' revset predicate is useful

Patches 2-4 here are all missing 'a's or 'the's and are not very urgent.
Let's revisit them for 2.3, please.

> diff -r 366b70de30e3 -r d2a517b2eac2 mercurial/revset.py
> --- a/mercurial/revset.py	Thu Apr 26 21:32:48 2012 +0900
> +++ b/mercurial/revset.py	Thu Apr 26 21:32:48 2012 +0900
> @@ -838,6 +838,9 @@
>      """``present(set)``
>      An empty set, if any revision in set isn't found; otherwise,
>      all revisions in set.
> +
> +    An absence of any of specified revisions normally causes abort of query,

"an abort of the query"

> +    but this predicate allows query to continue even in such cases.

"the query"

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list