hgbook

view fr/examples/filenames @ 999:a6b81cd31cfd

adding complete.xml - which generated but Bryan did add it also - as I have absolutly no personnality I do as he does
author Romain PELISSE <belaran@gmail.com>
date Sat Sep 12 20:53:36 2009 +0200 (2009-09-12)
parents 1e013fbe35f7
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