test-diffdir
12 lines
| 197 B
| text/plain
|
TextLexer
/ tests / test-diffdir
|
r536 | #!/bin/sh | ||
hg init | ||||
touch a | ||||
hg add a | ||||
|
r749 | hg ci -m "a" -d "0 0" | ||
|
r536 | |||
echo 123 > b | ||||
hg add b | ||||
|
r774 | hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/" | ||
|
r536 | |||
|
r774 | hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/" | ||