test-flags
34 lines
| 360 B
| text/plain
|
TextLexer
/ tests / test-flags
Thomas Arendsen Hein
|
r800 | #!/bin/sh -e | ||
mpm@selenic.com
|
r412 | |||
Thomas Arendsen Hein
|
r491 | umask 027 | ||
mpm@selenic.com
|
r412 | mkdir test1 | ||
cd test1 | ||||
hg init | ||||
touch a b | ||||
hg add a b | ||||
mpm@selenic.com
|
r749 | hg ci -m "added a b" -d "0 0" | ||
mpm@selenic.com
|
r412 | |||
cd .. | ||||
mkdir test2 | ||||
cd test2 | ||||
hg init | ||||
mpm@selenic.com
|
r440 | hg pull ../test1 | ||
mpm@selenic.com
|
r412 | hg co | ||
chmod +x a | ||||
mpm@selenic.com
|
r749 | hg ci -m "chmod +x a" -d "0 0" | ||
mpm@selenic.com
|
r412 | |||
cd ../test1 | ||||
echo 123 >>a | ||||
mpm@selenic.com
|
r749 | hg ci -m "a updated" -d "0 0" | ||
mpm@selenic.com
|
r412 | |||
mpm@selenic.com
|
r440 | hg pull ../test2 | ||
mpm@selenic.com
|
r412 | hg heads | ||
hg history | ||||
mpm@selenic.com
|
r591 | hg -v co -m | ||
mpm@selenic.com
|
r412 | |||
ls -l ../test[12]/a > foo | ||||
cut -b 0-10 < foo | ||||