tests/test-nested-repo.t
changeset 35393 4441705b7111
parent 19124 4cdec37f0018
equal deleted inserted replaced
35392:5feb782c7a95 35393:4441705b7111
    12   $ hg st
    12   $ hg st
    13 
    13 
    14 Should fail:
    14 Should fail:
    15 
    15 
    16   $ hg st b/x
    16   $ hg st b/x
    17   abort: path 'b/x' is inside nested repo 'b' (glob)
    17   abort: path 'b/x' is inside nested repo 'b'
    18   [255]
    18   [255]
    19   $ hg add b/x
    19   $ hg add b/x
    20   abort: path 'b/x' is inside nested repo 'b' (glob)
    20   abort: path 'b/x' is inside nested repo 'b'
    21   [255]
    21   [255]
    22 
    22 
    23 Should fail:
    23 Should fail:
    24 
    24 
    25   $ hg add b b/x
    25   $ hg add b b/x
    26   abort: path 'b/x' is inside nested repo 'b' (glob)
    26   abort: path 'b/x' is inside nested repo 'b'
    27   [255]
    27   [255]
    28   $ hg st
    28   $ hg st
    29 
    29 
    30 Should arguably print nothing:
    30 Should arguably print nothing:
    31 
    31 
    35   $ hg ci -Ama a
    35   $ hg ci -Ama a
    36 
    36 
    37 Should fail:
    37 Should fail:
    38 
    38 
    39   $ hg mv a b
    39   $ hg mv a b
    40   abort: path 'b/a' is inside nested repo 'b' (glob)
    40   abort: path 'b/a' is inside nested repo 'b'
    41   [255]
    41   [255]
    42   $ hg st
    42   $ hg st
    43 
    43 
    44   $ cd ..
    44   $ cd ..