tests/test-uncommit.t
changeset 4506 79de4e86d9a4
parent 3747 1e103c7f7663
child 4513 d70db7e455dc
child 4624 c9798965b1f4
equal deleted inserted replaced
4505:cc2bbe2701a3 4506:79de4e86d9a4
   512   $ hg uncommit --revert --all
   512   $ hg uncommit --revert --all
   513   new changeset is empty
   513   new changeset is empty
   514   (use 'hg prune .' to remove it)
   514   (use 'hg prune .' to remove it)
   515   $ hg status
   515   $ hg status
   516   ? foo
   516   ? foo
       
   517 
       
   518 Bad explicit paths abort, like the bundled commit extension
       
   519 
       
   520   $ hg uncommit foo
       
   521   abort: cannot uncommit "foo"
       
   522   (file was untracked in working directory parent)
       
   523   [255]
       
   524 
       
   525   $ hg ci -Aqm 'add foo'
       
   526   $ hg uncommit bar
       
   527   abort: cannot uncommit "bar"
       
   528   (file does not exist)
       
   529   [255]
       
   530   $ hg uncommit d
       
   531   abort: cannot uncommit "d"
       
   532   (file was not changed in working directory parent)
       
   533   [255]
       
   534 
       
   535   $ hg status