Mercurial > hgbook
comparison ja/examples/filenames @ 290:b0db5adf11c1 ja_root
fork Japanese translation.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Wed, 06 Feb 2008 17:43:11 +0900 |
parents | en/examples/filenames@1e013fbe35f7 |
children |
comparison
equal
deleted
inserted
replaced
289:7be02466421b | 290:b0db5adf11c1 |
---|---|
1 #!/bin/bash | |
2 | |
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 | |
9 | |
10 #$ name: files | |
11 | |
12 hg add COPYING README examples/simple.py | |
13 | |
14 #$ name: dirs | |
15 | |
16 hg status src | |
17 | |
18 #$ name: wdir-subdir | |
19 | |
20 cd src | |
21 hg add -n | |
22 hg add -n . | |
23 | |
24 #$ name: wdir-relname | |
25 | |
26 hg status | |
27 hg status `hg root` | |
28 | |
29 #$ name: glob.star | |
30 | |
31 hg add 'glob:*.py' | |
32 | |
33 #$ name: glob.starstar | |
34 | |
35 cd .. | |
36 hg status 'glob:**.py' | |
37 | |
38 #$ name: glob.star-starstar | |
39 | |
40 hg status 'glob:*.py' | |
41 hg status 'glob:**.py' | |
42 | |
43 #$ name: glob.question | |
44 | |
45 hg status 'glob:**.?' | |
46 | |
47 #$ name: glob.range | |
48 | |
49 hg status 'glob:**[nr-t]' | |
50 | |
51 #$ name: glob.group | |
52 | |
53 hg status 'glob:*.{in,py}' | |
54 | |
55 #$ name: filter.include | |
56 | |
57 hg status -I '*.in' | |
58 | |
59 #$ name: filter.exclude | |
60 | |
61 hg status -X '**.py' src |