##// END OF EJS Templates
Duplicate cache when creating templater.
Duplicate cache when creating templater.

File last commit:

r1568:1d7d0c07 default
r1975:6e1a8ea5 default
Show More
test-hgignore
45 lines | 668 B | text/plain | TextLexer
#!/bin/sh
hg init
touch a.o
touch a.c
touch syntax
mkdir dir
touch dir/a.o
touch dir/b.o
touch dir/c.o
hg add dir/a.o
hg commit -m 0
hg add dir/b.o
echo "--" ; hg status
echo "*.o" > .hgignore
echo "--" ; hg status
echo ".*\.o" > .hgignore
echo "--" ; hg status
# XXX: broken
#echo "glob:**.o" > .hgignore
#echo "--" ; hg status
#
#echo "glob:*.o" > .hgignore
#echo "--" ; hg status
echo "syntax: invalid" > .hgignore
echo "--" ; hg status
echo "syntax: glob" > .hgignore
echo "*.o" >> .hgignore
echo "--" ; hg status
echo "relglob:syntax*" > .hgignore
echo "--" ; hg status
echo "relglob:*" > .hgignore
echo "--" ; hg status
cd dir
echo "--" ; hg status .