hg help revisions: undocumented predicates

Augie Fackler raf at durin42.com
Fri Feb 28 22:11:04 UTC 2020



> On Feb 20, 2020, at 16:35, Marc Simpson <marc at 0branch.com> wrote:
> 
> Hi all,
> 
> The revisions documentation
> (https://www.mercurial-scm.org/repo/hg/help/revisions) states that
> 
>    "The following predicates are supported:"
> 
> but doesn't appear to be exhaustive (e.g. tagged() and orphan() are
> both missing).
> 
> Should the helptext be revised?

That's auto-generated from the function definitions in mercurial/revset.py. It looks like tagged() is undocumented (probably because tag() with no argument does the same thing?), and orphan() is marked experimental (for now) so it's omitted from the generated help.

> 
> Thanks,
> Marc
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list