equal
deleted
inserted
replaced
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 |