tests/test-topic-stack.t
changeset 1904 f52c02bf47b7
parent 1898 2b65c5a6591c
child 1905 3b42478ef017
equal deleted inserted replaced
1903:58cdf061d49a 1904:f52c02bf47b7
    67   $ hg topic --clear
    67   $ hg topic --clear
    68   $ hg topic --list
    68   $ hg topic --list
    69   abort: no active topic to list
    69   abort: no active topic to list
    70   [255]
    70   [255]
    71 
    71 
       
    72 Test "t#" reference
       
    73 -------------------
       
    74 
       
    75 
       
    76   $ hg up t1
       
    77   abort: cannot resolve "t1": no active topic
       
    78   [255]
       
    79   $ hg topic foo
       
    80   $ hg up t42
       
    81   abort: cannot resolve "t42": topic "foo" has only 4 changesets
       
    82   [255]
       
    83   $ hg up t1
       
    84   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
       
    85 
    72 Case with some of the topic unstable
    86 Case with some of the topic unstable
    73 ------------------------------------
    87 ------------------------------------
    74 
    88 
    75   $ hg up 'desc(c_d)'
       
    76   switching to topic foo
       
    77   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
       
    78   $ echo bbb > ddd
    89   $ echo bbb > ddd
    79   $ hg commit --amend
    90   $ hg commit --amend
    80   $ hg log -G
    91   $ hg log -G
    81   @  7 default {foo} draft c_d
    92   @  7 default {foo} draft c_d
    82   |
    93   |