comparison tests/test-evolve.t @ 2788:554c069cdc85

uncommit: use precheck to validate revision This gives us standard check and standard error message.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 24 Jul 2017 01:45:17 +0200
parents 2bd0b0996cfb
children 06ee4ec88190
comparison
equal deleted inserted replaced
2787:ebca049e8ca9 2788:554c069cdc85
1278 > evolution=createmarkers, allnewcommands 1278 > evolution=createmarkers, allnewcommands
1279 > EOF 1279 > EOF
1280 $ hg up 8dc373be86d9^ 1280 $ hg up 8dc373be86d9^
1281 0 files updated, 0 files merged, 2 files removed, 0 files unresolved 1281 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
1282 $ hg uncommit --all 1282 $ hg uncommit --all
1283 abort: cannot uncommit in the middle of a stack 1283 abort: uncommit will orphan 4 descendants
1284 (see 'hg help evolution.instability')
1284 [255] 1285 [255]
1285 $ hg up 8dc373be86d9 1286 $ hg up 8dc373be86d9
1286 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 1287 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
1287 $ hg uncommit --all 1288 $ hg uncommit --all
1288 new changeset is empty 1289 new changeset is empty