[PATCH 0 of 4] Add locate command

Bryan O'Sullivan bos at serpentine.com
Mon Jul 4 23:47:19 CDT 2005


On Mon, 2005-07-04 at 21:40 -0700, Bryan O'Sullivan wrote:

> Here are a few examples:

And another, for why this is useful: recursive grep across all revision-
controlled files of a particular type.

hg locate -0 -i '*/asm-*' mmu.h | xargs -0 -r grep volatile

Actually, recursive grep is sufficiently useful that I'm thinking of
adding it as a specific command.  Any objections?

	<b



More information about the Mercurial mailing list