test-diffdir
12 lines
| 205 B
| text/plain
|
TextLexer
/ tests / test-diffdir
mpm@selenic.com
|
r536 | #!/bin/sh | ||
hg init | ||||
touch a | ||||
hg add a | ||||
mpm@selenic.com
|
r749 | hg ci -m "a" -d "0 0" | ||
mpm@selenic.com
|
r536 | |||
echo 123 > b | ||||
hg add b | ||||
Thomas Arendsen Hein
|
r800 | hg diff | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" | ||
mpm@selenic.com
|
r536 | |||
Thomas Arendsen Hein
|
r800 | hg diff -r tip | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" | ||