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

Gilles Moris gilles.moris at free.fr
Wed Dec 2 14:31:32 CST 2009


On Wednesday 02 December 2009 03:46:53 am Greg Ward wrote:
> >     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

Trying, for the command help:

  """The --change option can also be used as a shortcut to list
     the changed files of a revision."""

For a merge, the status is from the second parent, which is consistent
with diff --change.
And for the option help:
  "list changed files of a revision"

But I could go for "show" instead of "list" and I don'know if it's "of"
or "for" a revision.

Regards.
Gilles.


More information about the Mercurial-devel mailing list