tests/test-rebase-collapse.t
branchstable
changeset 19986 ea81f8b2364e
parent 19956 78ab0f85e249
child 20117 aa9385f983fa
equal deleted inserted replaced
19984:7d5e7799a29f 19986:ea81f8b2364e
    55 
    55 
    56   $ hg rebase --collapse --keepbranches
    56   $ hg rebase --collapse --keepbranches
    57   saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob)
    57   saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob)
    58 
    58 
    59   $ hg tglogp
    59   $ hg tglogp
    60   o  5:secret 'Collapsed revision
    60   @  5:secret 'Collapsed revision
    61   |  * B
    61   |  * B
    62   |  * C
    62   |  * C
    63   |  * D'
    63   |  * D'
    64   @  4:draft 'H'
    64   o  4:draft 'H'
    65   |
    65   |
    66   | o  3:draft 'G'
    66   | o  3:draft 'G'
    67   |/|
    67   |/|
    68   o |  2:draft 'F'
    68   o |  2:draft 'F'
    69   | |
    69   | |
   735   adding a
   735   adding a
   736   $ hg rm a
   736   $ hg rm a
   737   $ touch b
   737   $ touch b
   738   $ hg commit -Am b
   738   $ hg commit -Am b
   739   adding b
   739   adding b
       
   740   $ hg book foo
   740   $ hg rebase -d 0 -r "1::2" --collapse -m collapsed
   741   $ hg rebase -d 0 -r "1::2" --collapse -m collapsed
   741   saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/*-backup.hg (glob)
   742   saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/*-backup.hg (glob)
   742   $ hg tglog
   743   $ hg log -G --template "{rev}: '{desc}' {bookmarks}"
   743   o  1: 'collapsed'
   744   @  1: 'collapsed' foo
   744   |
   745   |
   745   @  0: 'base'
   746   o  0: 'base'
   746   
   747   
   747   $ hg manifest --rev tip
   748   $ hg manifest --rev tip
   748   b
   749   b
   749   base
   750   base
   750 
   751