[PATCH] status: add --copied and --no-copied options

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu Jun 2 03:10:03 CDT 2011


On Wed, Jun 1, 2011 at 6:12 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Wed, 2011-06-01 at 16:14 +0200, Peter Arrenbrecht wrote:
>> # HG changeset patch
>> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
>> # Date 1306937613 -7200
>> # Node ID 0386e416141bd42117a4de476851e6f275c138bb
>> # Parent  1ffeeb91c55d0b00445ceabde14a0d0faf906a33
>> status: add --copied and --no-copied options
>
> You must have missed the big discussion at the sprint where we're not
> adding a million random new commandline options to each command for
> things that can be accomplished generically by filesets. This then
> becomes something like:
>
> hg st 'set:copied()'
> hg st 'set:not copied()'
>
> ..but is also available as:
>
> hg diff 'set:copied() and not binary()'
>
> etc.
>
> (I've got the parser working, now I've got to write the matching engine.
> Hopefully done by the end of the week so people can play with it a bit
> before the code freeze.)

Ah, excellent. I didn't realize there was so much progress on filesets
already. Looking forward to them.
-parren


More information about the Mercurial-devel mailing list