2006-04-01 05:00:09 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
hg init a
|
|
|
|
cd a
|
|
|
|
hg init b
|
|
|
|
echo x > b/x
|
2007-08-10 21:46:03 +04:00
|
|
|
|
2006-04-01 05:00:09 +04:00
|
|
|
echo '# should print nothing'
|
2007-08-10 21:46:03 +04:00
|
|
|
hg add b
|
2006-04-01 05:00:09 +04:00
|
|
|
hg st
|
|
|
|
|
2007-08-10 21:46:03 +04:00
|
|
|
echo '# should fail'
|
|
|
|
hg st b/x
|
2006-04-01 05:00:09 +04:00
|
|
|
hg add b/x
|
|
|
|
|
2007-08-19 04:36:10 +04:00
|
|
|
echo '# should fail'
|
|
|
|
hg add b b/x
|
|
|
|
hg st
|
|
|
|
|
2007-08-10 21:46:03 +04:00
|
|
|
echo '# should arguably print nothing'
|
2006-04-01 05:00:09 +04:00
|
|
|
hg st b
|
2007-08-10 21:46:03 +04:00
|
|
|
|
|
|
|
echo a > a
|
|
|
|
hg ci -Ama a
|
|
|
|
|
|
|
|
echo '# should fail'
|
|
|
|
hg mv a b
|
|
|
|
hg st
|