[PATCH 1 of 3] revset: short docstring for checkstatus

Pulkit Goyal 7895pulkit at gmail.com
Fri Apr 12 08:33:14 EDT 2019


On Fri, Apr 5, 2019 at 10:34 PM Jordi GutiƩrrez Hermoso <jordigh at octave.org>
wrote:

> # HG changeset patch
> # User Jordi GutiƩrrez Hermoso <jordigh at octave.org>
> # Date 1554489052 14400
> #      Fri Apr 05 14:30:52 2019 -0400
> # Node ID 9fcb915a73b83547921aaa13584c88cb99c6aee7
> # Parent  a975821d0938615b8cb235f12cc6461a42dcfbd8
> revset: short docstring for checkstatus
>
> This is where all the action happens for the status-related revsets,
> and a little documentation doesn't hurt.
>
>
Queued only this one, many thanks!


> diff --git a/mercurial/revset.py b/mercurial/revset.py
> --- a/mercurial/revset.py
> +++ b/mercurial/revset.py
> @@ -598,6 +598,12 @@ def bundle(repo, subset, x):
>      return subset & bundlerevs
>
>  def checkstatus(repo, subset, pat, field):
> +    """Helper for status-related revsets (adds, removes, modifies,
> +    renames, copies). The field parameter says which kind is desired:
>

dropped renames and copies for now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190412/afba3711/attachment.html>


More information about the Mercurial-devel mailing list