tests/test-topic-stack.t
changeset 1958 62d5d4206840
parent 1957 ea5553e47027
child 1959 6789d5d9f2b0
equal deleted inserted replaced
1957:ea5553e47027 1958:62d5d4206840
    69 
    69 
    70 Test "t#" reference
    70 Test "t#" reference
    71 -------------------
    71 -------------------
    72 
    72 
    73 
    73 
    74   $ hg up t1
    74   $ hg up t2
    75   abort: cannot resolve "t1": no active topic
    75   abort: cannot resolve "t2": no active topic
    76   [255]
    76   [255]
    77   $ hg topic foo
    77   $ hg topic foo
    78   $ hg up t42
    78   $ hg up t42
    79   abort: cannot resolve "t42": topic "foo" has only 4 changesets
    79   abort: cannot resolve "t42": topic "foo" has only 4 changesets
    80   [255]
    80   [255]
    81   $ hg up t1
    81   $ hg up t2
    82   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
    82   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
       
    83   $ hg summary
       
    84   parent: 3:f9c59b863cdb 
       
    85    c_d
       
    86   branch: default
       
    87   commit: (clean)
       
    88   update: (current)
       
    89   phases: 6 draft
       
    90   topic:  foo
    83 
    91 
    84 Case with some of the topic unstable
    92 Case with some of the topic unstable
    85 ------------------------------------
    93 ------------------------------------
    86 
    94 
    87   $ echo bbb > ddd
    95   $ echo bbb > ddd