comparison tests/test-nested-repo @ 2061:5987c1eac2ce

support nested repositories. mercurial will not recurse into a subdirectory that contains a .hg directory. it is treated as a separate repository.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 31 Mar 2006 17:00:09 -0800
parents
children 3335564f2518
comparison
equal deleted inserted replaced
2030:8d9ec30d58bc 2061:5987c1eac2ce
1 #!/bin/sh
2
3 hg init a
4 cd a
5 hg init b
6 echo x > b/x
7 echo '# should print nothing'
8 hg st
9 echo '# should print ? b/x'
10 hg st b/x
11
12 hg add b/x
13
14 echo '# should print A b/x'
15 hg st
16 echo '# should forget b/x'
17 hg forget
18 echo '# should print nothing'
19 hg st b