2010-09-14 14:20:51 +04:00
|
|
|
$ hg init a
|
|
|
|
$ cd a
|
|
|
|
$ hg init b
|
|
|
|
$ echo x > b/x
|
|
|
|
|
|
|
|
Should print nothing:
|
|
|
|
|
|
|
|
$ hg add b
|
|
|
|
$ hg st
|
|
|
|
|
|
|
|
Should fail:
|
|
|
|
|
|
|
|
$ hg st b/x
|
2011-11-07 06:25:10 +04:00
|
|
|
abort: path 'b/x' is inside nested repo 'b' (glob)
|
2010-09-17 02:51:32 +04:00
|
|
|
[255]
|
2010-09-14 14:20:51 +04:00
|
|
|
$ hg add b/x
|
2011-11-07 06:25:10 +04:00
|
|
|
abort: path 'b/x' is inside nested repo 'b' (glob)
|
2010-09-17 02:51:32 +04:00
|
|
|
[255]
|
2010-09-14 14:20:51 +04:00
|
|
|
|
|
|
|
Should fail:
|
|
|
|
|
|
|
|
$ hg add b b/x
|
2011-11-07 06:25:10 +04:00
|
|
|
abort: path 'b/x' is inside nested repo 'b' (glob)
|
2010-09-17 02:51:32 +04:00
|
|
|
[255]
|
2010-09-14 14:20:51 +04:00
|
|
|
$ hg st
|
|
|
|
|
|
|
|
Should arguably print nothing:
|
|
|
|
|
|
|
|
$ hg st b
|
|
|
|
|
|
|
|
$ echo a > a
|
|
|
|
$ hg ci -Ama a
|
|
|
|
|
|
|
|
Should fail:
|
|
|
|
|
|
|
|
$ hg mv a b
|
2011-11-07 06:25:10 +04:00
|
|
|
abort: path 'b/a' is inside nested repo 'b' (glob)
|
2010-09-17 02:51:32 +04:00
|
|
|
[255]
|
2010-09-14 14:20:51 +04:00
|
|
|
$ hg st
|
|
|
|
|