test-diff-subdir
24 lines
| 291 B
| text/plain
|
TextLexer
/ tests / test-diff-subdir
Giorgos Keramidas
|
r2879 | #!/bin/sh | ||
hg init | ||||
mkdir alpha | ||||
touch alpha/one | ||||
mkdir beta | ||||
touch beta/two | ||||
hg add alpha/one beta/two | ||||
hg ci -m "start" -d "1000000 0" | ||||
echo 1 > alpha/one | ||||
echo 2 > beta/two | ||||
echo EVERYTHING | ||||
Stephen Darnell
|
r3199 | hg diff --nodates | ||
Giorgos Keramidas
|
r2879 | |||
echo BETA ONLY | ||||
Stephen Darnell
|
r3199 | hg diff --nodates beta | ||
Giorgos Keramidas
|
r2879 | |||
echo INSIDE BETA | ||||
cd beta | ||||
Stephen Darnell
|
r3199 | hg diff --nodates . | ||