[PATCH 2 of 6 STABLE] doc: add explanation when 'present()' revset predicate is useful
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Thu Apr 26 07:38:26 CDT 2012
# 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
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,
+ but this predicate allows query to continue even in such cases.
"""
try:
return getset(repo, subset, x)
More information about the Mercurial-devel
mailing list