doc: add detail explanation for 'present()' predicate of revsets stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Wed, 16 May 2012 17:02:30 +0900
branchstable
changeset 16748 0a730d3c5aae
parent 16747 6476a21337a6
child 16755 d0b9ebba41e9
child 16759 133a7922a900
doc: add detail explanation for 'present()' predicate of revsets
mercurial/revset.py
--- a/mercurial/revset.py	Fri May 18 14:34:33 2012 -0500
+++ b/mercurial/revset.py	Wed May 16 17:02:30 2012 +0900
@@ -845,6 +845,10 @@
     """``present(set)``
     An empty set, if any revision in set isn't found; otherwise,
     all revisions in set.
+
+    If any of specified revisions is not present in the local repository,
+    the query is normally aborted. But this predicate allows the query
+    to continue even in such cases.
     """
     try:
         return getset(repo, subset, x)