Mercurial > evolve
changeset 3980:828b423545b1 stable
tests: check that we delete evolvestate correctly after abort/stop
This patch adds test to check whether we delete the evolvestate correctly after
aborting or stopping an interrupted evolve which is caused because of `next
--evolve`.
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Mon, 20 Aug 2018 12:19:05 +0300 |
parents | db44da7b9097 |
children | b4d0245c7f40 |
files | tests/test-evolve-abort-orphan.t tests/test-evolve-stop-orphan.t |
diffstat | 2 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-evolve-abort-orphan.t Mon Aug 20 23:04:37 2018 +0200 +++ b/tests/test-evolve-abort-orphan.t Mon Aug 20 12:19:05 2018 +0300 @@ -540,3 +540,20 @@ $ hg evolve --abort evolve aborted working directory is now at c1f4718020e3 + + $ ls .hg/ + 00changelog.i + bookmarks + branch + cache + dirstate + evolvestate + last-message.txt + requires + store + undo.backup.bookmarks + undo.backup.dirstate + undo.bookmarks + undo.branch + undo.desc + undo.dirstate
--- a/tests/test-evolve-stop-orphan.t Mon Aug 20 23:04:37 2018 +0200 +++ b/tests/test-evolve-stop-orphan.t Mon Aug 20 12:19:05 2018 +0300 @@ -169,6 +169,19 @@ () draft $ hg status + $ ls .hg/ + 00changelog.i + branch + cache + dirstate + last-message.txt + requires + store + undo.backup.dirstate + undo.bookmarks + undo.branch + undo.desc + undo.dirstate Checking when multiple revs need to be evolved, some revs evolve without conflicts