test-nested-repo
24 lines
| 249 B
| text/plain
|
TextLexer
/ tests / test-nested-repo
|
r2061 | #!/bin/sh | ||
hg init a | ||||
cd a | ||||
hg init b | ||||
echo x > b/x | ||||
|
r5158 | |||
|
r2061 | echo '# should print nothing' | ||
|
r5158 | hg add b | ||
|
r2061 | hg st | ||
|
r5158 | |||
echo '# should fail' | ||||
|
r2061 | hg st b/x | ||
hg add b/x | ||||
|
r5158 | echo '# should arguably print nothing' | ||
hg st b | ||||
echo a > a | ||||
hg ci -Ama a | ||||
echo '# should fail' | ||||
hg mv a b | ||||
|
r2061 | hg st | ||