[PATCH 0 of 4] Add locate command
Bryan O'Sullivan
bos at serpentine.com
Tue Jul 5 22:05:30 CDT 2005
On Wed, 2005-07-06 at 08:42 +0800, Soh Tk-r28629 wrote:
> % python hg locate -i 'doc/'
> ^(?:doc)/
> doc/FAQ.txt
> doc/Makefile
> doc/README
> doc/hg.1.txt
> doc/hgmerge.1.txt
For what it's worth, I don't think you've applied the complete series of
patches. That debug print of the regexp shouldn't be there.
Here's what I get locally:
$ 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.
> % python hg locate -i 'RE*'
> ^(?:RE.*)/
This shouldn't print anything, because there are no directories matching
'RE*'.
Thanks for trying it out. I'll post some fixes later.
<b
More information about the Mercurial
mailing list