hgbook
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/filenames Tue Mar 06 21:44:56 2007 -0800 1.3 @@ -0,0 +1,61 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +hg init a 1.7 +cd a 1.8 +mkdir -p examples src/watcher 1.9 +touch COPYING MANIFEST.in README setup.py 1.10 +touch examples/performant.py examples/simple.py 1.11 +touch src/main.py src/watcher/_watcher.c src/watcher/watcher.py src/xyzzy.txt 1.12 + 1.13 +#$ name: files 1.14 + 1.15 +hg add COPYING README examples/simple.py 1.16 + 1.17 +#$ name: dirs 1.18 + 1.19 +hg status src 1.20 + 1.21 +#$ name: wdir-subdir 1.22 + 1.23 +cd src 1.24 +hg add -n 1.25 +hg add -n . 1.26 + 1.27 +#$ name: wdir-relname 1.28 + 1.29 +hg status 1.30 +hg status `hg root` 1.31 + 1.32 +#$ name: glob.star 1.33 + 1.34 +hg add 'glob:*.py' 1.35 + 1.36 +#$ name: glob.starstar 1.37 + 1.38 +cd .. 1.39 +hg status 'glob:**.py' 1.40 + 1.41 +#$ name: glob.star-starstar 1.42 + 1.43 +hg status 'glob:*.py' 1.44 +hg status 'glob:**.py' 1.45 + 1.46 +#$ name: glob.question 1.47 + 1.48 +hg status 'glob:**.?' 1.49 + 1.50 +#$ name: glob.range 1.51 + 1.52 +hg status 'glob:**[nr-t]' 1.53 + 1.54 +#$ name: glob.group 1.55 + 1.56 +hg status 'glob:*.{in,py}' 1.57 + 1.58 +#$ name: filter.include 1.59 + 1.60 +hg status -I '*.in' 1.61 + 1.62 +#$ name: filter.exclude 1.63 + 1.64 +hg status -X '**.py' src