tests/test-topic-dest.t
branchmercurial-4.0
changeset 3003 ddf28837f5af
parent 2988 62201935e1a7
child 3016 d12c82fd1143
equal deleted inserted replaced
2810:604ddf1e1a8e 3003:ddf28837f5af
    26 Simple linear case
    26 Simple linear case
    27 
    27 
    28   $ echo babar >> jungle
    28   $ echo babar >> jungle
    29   $ hg add jungle
    29   $ hg add jungle
    30   $ hg ci -t elephant -m babar
    30   $ hg ci -t elephant -m babar
       
    31   active topic 'elephant' grew its first changeset
    31 
    32 
    32   $ hg log -G
    33   $ hg log -G
    33   @  4 (elephant) babar
    34   @  4 (elephant) babar
    34   |
    35   |
    35   o  3 () c_delta
    36   o  3 () c_delta
    51   $ hg up "desc('c_beta')"
    52   $ hg up "desc('c_beta')"
    52   0 files updated, 0 files merged, 3 files removed, 0 files unresolved
    53   0 files updated, 0 files merged, 3 files removed, 0 files unresolved
    53   $ echo zephir >> jungle
    54   $ echo zephir >> jungle
    54   $ hg add jungle
    55   $ hg add jungle
    55   $ hg ci -t monkey -m zephir
    56   $ hg ci -t monkey -m zephir
       
    57   active topic 'monkey' grew its first changeset
    56   $ hg log -G
    58   $ hg log -G
    57   @  5 (monkey) zephir
    59   @  5 (monkey) zephir
    58   |
    60   |
    59   | o  4 (elephant) babar
    61   | o  4 (elephant) babar
    60   | |
    62   | |
   448 Testing default destination for topic
   450 Testing default destination for topic
   449 
   451 
   450   $ hg up 'p1(roots(topic(elephant)))'
   452   $ hg up 'p1(roots(topic(elephant)))'
   451   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   453   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   452   $ hg topic elephant
   454   $ hg topic elephant
       
   455   marked working directory as topic: elephant
   453   $ hg up
   456   $ hg up
   454   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   457   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   455   $ hg log -G
   458   $ hg log -G
   456   o  16 () c_eta
   459   o  16 () c_eta
   457   |
   460   |