# HG changeset patch # User Anton Shestakov # Date 1685023689 10800 # Node ID 173293415d1fcbb81f279c7c9d83bbd4adc545d5 # Parent 24f1f34b4a5e0ea0970645c2f610c6898373cd9c tests: capture .hg/merge/state presence as well diff -r 24f1f34b4a5e -r 173293415d1f tests/test-evolve-abort-orphan.t --- a/tests/test-evolve-abort-orphan.t Wed May 24 23:56:46 2023 +0200 +++ b/tests/test-evolve-abort-orphan.t Thu May 25 11:08:09 2023 -0300 @@ -580,15 +580,16 @@ (see 'hg help evolve.interrupted') [240] -We do have a state file before abort +We do have state files for evolve and merge before abort - $ ls .hg/ | grep evolvestate - evolvestate + $ find .hg/ -name '*state' | grep -v dirstate | sort + .hg/evolvestate + .hg/merge/state -The file is gone after abort +The files are gone after abort $ hg abort evolve aborted working directory is now at c1f4718020e3 - $ ls .hg/ | grep evolvestate + $ find .hg/ -name '*state' | grep -v dirstate [1] diff -r 24f1f34b4a5e -r 173293415d1f tests/test-evolve-stop-orphan.t --- a/tests/test-evolve-stop-orphan.t Wed May 24 23:56:46 2023 +0200 +++ b/tests/test-evolve-stop-orphan.t Thu May 25 11:08:09 2023 -0300 @@ -163,9 +163,10 @@ +foo +>>>>>>> evolving: c41c793e0ef1 - test: added d -we do have a evolvestate file before the --stop - $ ls .hg/ | grep evolvestate - evolvestate +We do have state files for evolve and merge before the --stop + $ find .hg/ -name '*state' | grep -v dirstate | sort + .hg/evolvestate + .hg/merge/state $ hg evolve --stop stopped the interrupted evolve @@ -186,9 +187,8 @@ $ hg status -The state file is gone after the --stop - - $ ls .hg/ | grep evolvestate +The state files are gone after the --stop + $ find .hg/ -name '*state' | grep -v dirstate [1] Checking when multiple revs need to be evolved, some revs evolve without