[PATCH 0 of 4] Add locate command

Bryan O'Sullivan bos at serpentine.com
Tue Jul 5 22:14:37 CDT 2005


On Tue, 2005-07-05 at 20:05 -0700, Bryan O'Sullivan wrote:

> $ hg locate -i 'doc/'
> doc/FAQ.txt
> doc/Makefile
> doc/README
> doc/hg.1.txt
> doc/hgmerge.1.txt
> 
> > % python hg locate -i 'doc/*'
> > ^(?:doc\/.*)/
> 
> That should print the same thing.  This is a bug.

Actually, it's not a bug, but it points out that the man page entry
could do with some robustification.

What that means is "look under any subdirectory of doc".

	<b



More information about the Mercurial mailing list