Mercurial > hg-stable
diff tests/test-histedit-arguments.t @ 22368:802dffd62de5 stable
histedit: abort gracefully on --continue/--abort with no state
Previously we'd print an ugly message saying that the histedit-state file
doesn't exist in the repo.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 03 Sep 2014 20:42:51 +0200 |
parents | 50fd3a36d166 |
children | 897041f6b025 |
line wrap: on
line diff
--- a/tests/test-histedit-arguments.t Tue Sep 02 03:41:01 2014 +0200 +++ b/tests/test-histedit-arguments.t Wed Sep 03 20:42:51 2014 +0200 @@ -41,6 +41,16 @@ one +histedit --continue/--abort with no existing state +-------------------------------------------------- + + $ hg histedit --continue + abort: no histedit in progress + [255] + $ hg histedit --abort + abort: no histedit in progress + [255] + Run a dummy edit to make sure we get tip^^ correctly via revsingle. --------------------------------------------------------------------