help: clarify ancestors() and descendants() include given set (issue5594)
Also unified "a changeset" to "changesets".
--- a/mercurial/revset.py Sun Feb 19 19:37:14 2017 +0900
+++ b/mercurial/revset.py Sun Jun 18 22:46:56 2017 +0900
@@ -247,7 +247,8 @@
@predicate('ancestors(set)', safe=True)
def ancestors(repo, subset, x):
- """Changesets that are ancestors of a changeset in set.
+ """Changesets that are ancestors of changesets in set, including the
+ given changesets themselves.
"""
return _ancestors(repo, subset, x)
@@ -592,7 +593,8 @@
@predicate('descendants(set)', safe=True)
def descendants(repo, subset, x):
- """Changesets which are descendants of changesets in set.
+ """Changesets which are descendants of changesets in set, including the
+ given changesets themselves.
"""
return _descendants(repo, subset, x)