error with 'set' from fileset

Faheem Mitha faheem at faheem.info
Tue Jul 23 09:59:38 UTC 2013


Hi,

I get the following error, but I'm not sure why.  I asked about it on
#mercurial, but nobody replied.

I was going to file an issue, but it may be user error. If so, please
let me know. If not, I can file an issue.

faheem at merlin:~/corrmodel/corrmodel-0.1$ hg locate "set:c_api_ex/**"
hg: parse error at 1: syntax error

faheem at merlin:~/corrmodel/corrmodel-0.1$ hg locate "set: 'c_api_ex/**'" 
c_api_ex/Makefile
c_api_ex/arrmod.cc
c_api_ex/common.hh
c_api_ex/hellomod.c
c_api_ex/setup.py
c_api_ex/summod.c
c_api_ex/test.py
c_api_ex/tracemod.c

I don't see why the quotes are necessary here. For example, 'lisp'
works with and without quotes.

faheem at merlin:~/corrmodel/corrmodel-0.1$ hg locate "set: lisp/**" works
lisp/gendata_fn.lisp
lisp/gendata_fn.py

faheem at merlin:~/corrmodel/corrmodel-0.1$ hg locate "set: 'lisp/**'" works
lisp/gendata_fn.lisp
lisp/gendata_fn.py

Please CC me on any reply. Thanks.

                                                           Regards, Faheem



More information about the Mercurial mailing list