test-diffdir
12 lines
| 197 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 | ||||
mpm@selenic.com
|
r774 | hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/" | ||
mpm@selenic.com
|
r536 | |||
mpm@selenic.com
|
r774 | hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/" | ||