bos@133: #!/bin/bash bos@133: bos@133: hg init a bos@133: cd a bos@133: mkdir -p examples src/watcher bos@133: touch COPYING MANIFEST.in README setup.py bos@133: touch examples/performant.py examples/simple.py bos@133: touch src/main.py src/watcher/_watcher.c src/watcher/watcher.py src/xyzzy.txt bos@133: bos@133: #$ name: files bos@133: bos@133: hg add COPYING README examples/simple.py bos@133: bos@133: #$ name: dirs bos@133: bos@133: hg status src bos@133: bos@133: #$ name: wdir-subdir bos@133: bos@133: cd src bos@133: hg add -n bos@133: hg add -n . bos@133: bos@133: #$ name: wdir-relname bos@133: bos@133: hg status bos@133: hg status `hg root` bos@133: bos@133: #$ name: glob.star bos@133: bos@133: hg add 'glob:*.py' bos@133: bos@133: #$ name: glob.starstar bos@133: bos@133: cd .. bos@133: hg status 'glob:**.py' bos@133: bos@133: #$ name: glob.star-starstar bos@133: bos@133: hg status 'glob:*.py' bos@133: hg status 'glob:**.py' bos@133: bos@133: #$ name: glob.question bos@133: bos@133: hg status 'glob:**.?' bos@133: bos@133: #$ name: glob.range bos@133: bos@133: hg status 'glob:**[nr-t]' bos@133: bos@133: #$ name: glob.group bos@133: bos@133: hg status 'glob:*.{in,py}' bos@133: bos@133: #$ name: filter.include bos@133: bos@133: hg status -I '*.in' bos@133: bos@133: #$ name: filter.exclude bos@133: bos@133: hg status -X '**.py' src