hgbook
view en/examples/filenames @ 144:006bbad1f190
Add expected output files.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 06 21:44:56 2007 -0800 (2007-03-06) |
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