[PATCH] grep: introduce a manifest search method

Matt Mackall mpm at selenic.com
Tue May 18 14:03:13 CDT 2010


On Tue, 2010-05-18 at 02:18 -0500, Steve Borho wrote:
> On Mon, May 17, 2010 at 11:42 PM, Matt Mackall <mpm at selenic.com> wrote:
> > On Mon, 2010-05-17 at 21:36 -0500, Steve Borho wrote:
> >> On Mon, May 17, 2010 at 9:21 PM, Steve Borho <steve at borho.org> wrote:
> >> > # HG changeset patch # User Steve Borho <steve at borho.org> # Date 1273812860 18000 # Node ID 7abcaef62d30d58f9247c42d5ae8269c55f65717 # Parent  c45a47bc41148b6037cd7337c4529a5e67b92222 grep: introduce a manifest search method
> >>
> >> Let me just quickly add that if we could decide on a sane way to
> >> report 'working copy revision', I could easily add back a revision
> >> number to the default output.  Perhaps repo['.'].rev() + '+' ?
> >
> > Not unreasonable. But let's think ahead to how we'd implement this in
> > the annotate command and then work back to grep from there.

..and by that I mean how we'd present the change in annotate in a way
that made sense (options, display, defaults, etc.) and didn't break
anything too badly.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list