hgbook
view en/examples/filenames @ 171:8c1703a98266
Add a dependency on htlatex to HTML targets, even though we don't call it.
If the files it ships with aren't present, we can't build HTML.
If the files it ships with aren't present, we can't build HTML.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 26 23:57:58 2007 -0700 (2007-03-26) |
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