tests/test-hgignore
changeset 5029 ac97e065cfc7
parent 4439 4e521a3ee5eb
child 6479 31abcae33b4f
equal deleted inserted replaced
4997:60c54154ec4c 5029:ac97e065cfc7
    38 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/'
    38 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/'
    39 
    39 
    40 echo ".*\.o" > .hgignore
    40 echo ".*\.o" > .hgignore
    41 echo "--" ; hg status
    41 echo "--" ; hg status
    42 
    42 
    43 # XXX: broken
    43 echo "glob:**.o" > .hgignore
    44 #echo "glob:**.o" > .hgignore
    44 echo "--" ; hg status
    45 #echo "--" ; hg status
    45 
    46 #
    46 echo "glob:*.o" > .hgignore
    47 #echo "glob:*.o" > .hgignore
    47 echo "--" ; hg status
    48 #echo "--" ; hg status
    48 
       
    49 echo "syntax: glob" > .hgignore
       
    50 echo "re:.*\.o" >> .hgignore
       
    51 echo "--" ; hg status
    49 
    52 
    50 echo "syntax: invalid" > .hgignore
    53 echo "syntax: invalid" > .hgignore
    51 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/'
    54 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/'
    52 
    55 
    53 echo "syntax: glob" > .hgignore
    56 echo "syntax: glob" > .hgignore