hgbook

view es/examples/filenames @ 673:dbe5f4bb6507

Ignore more
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Apr 09 22:54:10 2009 -0700 (2009-04-09)
parents
children
line source
1 #!/bin/bash
3 hg init a
4 cd a
5 mkdir -p examples src/watcher
6 touch COPYING MANIFEST.in README setup.py
7 touch examples/performant.py examples/simple.py
8 touch src/main.py src/watcher/_watcher.c src/watcher/watcher.py src/xyzzy.txt
10 #$ name: files
12 hg add COPYING README examples/simple.py
14 #$ name: dirs
16 hg status src
18 #$ name: wdir-subdir
20 cd src
21 hg add -n
22 hg add -n .
24 #$ name: wdir-relname
26 hg status
27 hg status `hg root`
29 #$ name: glob.star
31 hg add 'glob:*.py'
33 #$ name: glob.starstar
35 cd ..
36 hg status 'glob:**.py'
38 #$ name: glob.star-starstar
40 hg status 'glob:*.py'
41 hg status 'glob:**.py'
43 #$ name: glob.question
45 hg status 'glob:**.?'
47 #$ name: glob.range
49 hg status 'glob:**[nr-t]'
51 #$ name: glob.group
53 hg status 'glob:*.{in,py}'
55 #$ name: filter.include
57 hg status -I '*.in'
59 #$ name: filter.exclude
61 hg status -X '**.py' src