test-diffdir
21 lines
| 283 B
| text/plain
|
TextLexer
/ tests / test-diffdir
mpm@selenic.com
|
r536 | #!/bin/sh | ||
hg init | ||||
Thomas Arendsen Hein
|
r4167 | hg branch dummy # needed so -r "" doesn't point to the unnamed/default branch | ||
mpm@selenic.com
|
r536 | touch a | ||
hg add a | ||||
Thomas Arendsen Hein
|
r1933 | hg ci -m "a" -d "1000000 0" | ||
mpm@selenic.com
|
r536 | |||
echo 123 > b | ||||
hg add b | ||||
Stephen Darnell
|
r3199 | hg diff --nodates | ||
mpm@selenic.com
|
r536 | |||
Stephen Darnell
|
r3199 | hg diff --nodates -r tip | ||
Thomas Arendsen Hein
|
r1723 | |||
echo foo > a | ||||
Stephen Darnell
|
r3199 | hg diff --nodates | ||
Alexis S. L. Carvalho
|
r3825 | |||
hg diff -r "" | ||||
hg diff -r tip -r "" | ||||
true | ||||