# HG changeset patch # User Pulkit Goyal # Date 1534756745 -10800 # Node ID 828b423545b158282cc19c56f5b07b0322442b8f # Parent db44da7b9097f606c3906d4dac2041626af3926a 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`. diff -r db44da7b9097 -r 828b423545b1 tests/test-evolve-abort-orphan.t --- 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 diff -r db44da7b9097 -r 828b423545b1 tests/test-evolve-stop-orphan.t --- 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