[PATCH] status: add the --change option to display files changed in a revision

Greg Ward greg-hg at gerg.ca
Tue Dec 1 20:46:53 CST 2009


On Mon, Nov 30, 2009 at 5:52 PM, Gilles Moris <gilles.moris at free.fr> wrote:
> # HG changeset patch
> # User Gilles Moris <gilles.moris at free.fr>
> # Date 1259621466 -3600
> # Node ID 814b7c14731aef542e3d1e86bb2cc79602f99a2c
> # Parent  2059be77d4f8e33c7746f493f3f9edeee37a0d26
> status: add the --change option to display files changed in a revision

Neat idea.

> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -2842,7 +2842,7 @@
>
>     If one revision is given, it is used as the base revision.
>     If two revisions are given, the differences between them are
> -    shown.
> +    shown. The --change option can also be used as a shortcut.

This could use a smidge more detail.  Perhaps:

  The --change option can also be used as a shortcut to summarize
  the changes between a revision and its first parent.

> +          ('', 'change', '', _('change made by revision')),

Needs a verb.  Maybe "summarize change made by revision"?  "show
change made by revision?".  I like "summarize".  And the help for
"diff -c" should probably become "show change ...".

Greg


More information about the Mercurial-devel mailing list