# HG changeset patch # User Valentin Gatien-Baron # Date 2018-09-25 20:18:43 # Node ID 0561e69ed9f10e26106c71eaf46cfc2b29e40f29 # Parent 3bc4fce0167fa5c23fe96c24ddef1ba29ec7ba56 revset: reword commonancestor()'s help The new version seems a bit more consistent with other doc comments, and feels clearer to me (doesn't explain "commonancestors(set)" as "common ancestors of set"). Differential Revision: https://phab.mercurial-scm.org/D4740 diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -623,7 +623,7 @@ def _commonancestorheads(repo, subset, x @predicate('commonancestors(set)', safe=True) def commonancestors(repo, subset, x): - """Returns all common ancestors of the set. + """Changesets that are ancestors of every changeset in set. """ startrevs = getset(repo, fullreposet(repo), x, order=anyorder) if not startrevs: