add: strange behavior for -X option
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Jan 18 15:23:10 UTC 2006
Luc Saillard wrote:
>>then try to add the files from inside source/, but would like to ignore the
>>CVS directory:
>>
>> $ cd source/
>> $ hg add -X CVS .
>> adding CVS/Entries
>> adding CVS/Repository
>> adding CVS/Root
>> adding main.c
> You need to specify hg add -X 'glob:**CVS' to exclude CVS directory
all this pattern stuff is quite counter intuition. maybe we should come
up with some (several?) sane pattern types and select the most
userfriendly as default. it still could be changed via hgrc. (same
goes for hgignore, by the way)
cheers
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
More information about the Mercurial
mailing list