[PATCH RFC] changectx: introduce a grep method

Dirkjan Ochtman dirkjan at ochtman.nl
Fri May 14 02:27:41 CDT 2010


On Fri, May 14, 2010 at 06:54, Steve Borho <steve at borho.org> wrote:
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1273812860 18000
> # Node ID cdb4143244b9499144d0a5addfdbc90c2ee75512
> # Parent  06586648eeec7aea123aa74d003ed14ed2891a43
> changectx: introduce a grep method
>
> Works for both a changectx and a workingctx.  Could be hooked into 'hg grep -c'
> or some other argument.  Looking for comments about the style and function.

I wouldn't want to add this if we don't have any users of the API
(unless you can make a convincing case about needing it in other
places, of course). It seems rather niche.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list