tests/test-topic-dest.t
branchstable
changeset 5025 21168e99ba88
parent 5024 b1a9d548af52
child 5026 e7949274c3f9
equal deleted inserted replaced
5024:b1a9d548af52 5025:21168e99ba88
   513   $ hg topic foo
   513   $ hg topic foo
   514   marked working directory as topic: foo
   514   marked working directory as topic: foo
   515   $ hg up
   515   $ hg up
   516   clearing empty topic "foo"
   516   clearing empty topic "foo"
   517   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   517   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   518 
       
   519 destination check: when wdp has a topic but wdir has no active topic:
       
   520 
       
   521   $ hg topic foo
       
   522   marked working directory as topic: foo
       
   523   $ echo b > b
       
   524   $ hg ci -Am "added b"
       
   525   adding b
       
   526   active topic 'foo' grew its first changeset
       
   527   (see 'hg help topics' for more information)
       
   528   $ hg topic --clear
       
   529   $ hg up 2>&1 | grep "AssertionError"
       
   530   AssertionError: any revision has at least one descendant branch head