hgbook

view es/examples/filenames @ 374:c2ff82128ac5

Started translating undo.tex , added mistake and rollback
author Igor TAmara <igor@tamarapatino.org>
date Mon Oct 27 13:32:16 2008 -0500 (2008-10-27)
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