tests/test-uncommit.t
changeset 1058 00bc31523074
parent 1002 195642c1520b
child 1065 f355bbc124fc
equal deleted inserted replaced
1056:edfb9a0ad085 1058:00bc31523074
   334   $ hg previous
   334   $ hg previous
   335   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   335   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   336   [8] touncommit
   336   [8] touncommit
   337   $ hg uncommit aa
   337   $ hg uncommit aa
   338   1 new unstable changesets
   338   1 new unstable changesets
       
   339 
       
   340 Test uncommiting agains a different base
       
   341 
       
   342   $ hg cat b --rev .
       
   343   b
       
   344   b
       
   345   $ hg cat b --rev .^
       
   346   b
       
   347   $ hg cat b --rev 0
       
   348   b: no such file in rev 07f494440405
       
   349   [1]
       
   350   $ hg uncommit --rev 0 b
       
   351   $ hg cat b --rev .
       
   352   b: no such file in rev 5b27f6b17da2
       
   353   [1]
       
   354 
       
   355 Test uncommiting precursors
       
   356 
       
   357   $ hg uncommit --hidden --rev 'precursors(.)' b
       
   358   $ hg cat b --rev .
       
   359   b
       
   360   b