##// END OF EJS Templates
test-nested-repo.t: touch another file inside nested repo...
Siddharth Agarwal -
r19124:4cdec37f default
parent child Browse files
Show More
@@ -1,41 +1,44
1 1 $ hg init a
2 2 $ cd a
3 3 $ hg init b
4 4 $ echo x > b/x
5 5
6 6 Should print nothing:
7 7
8 8 $ hg add b
9 9 $ hg st
10 10
11 $ echo y > b/y
12 $ hg st
13
11 14 Should fail:
12 15
13 16 $ hg st b/x
14 17 abort: path 'b/x' is inside nested repo 'b' (glob)
15 18 [255]
16 19 $ hg add b/x
17 20 abort: path 'b/x' is inside nested repo 'b' (glob)
18 21 [255]
19 22
20 23 Should fail:
21 24
22 25 $ hg add b b/x
23 26 abort: path 'b/x' is inside nested repo 'b' (glob)
24 27 [255]
25 28 $ hg st
26 29
27 30 Should arguably print nothing:
28 31
29 32 $ hg st b
30 33
31 34 $ echo a > a
32 35 $ hg ci -Ama a
33 36
34 37 Should fail:
35 38
36 39 $ hg mv a b
37 40 abort: path 'b/a' is inside nested repo 'b' (glob)
38 41 [255]
39 42 $ hg st
40 43
41 44 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now