# HG changeset patch # User Anton Shestakov # Date 1685023689 10800 # Node ID db0fd1f1a7d01c4fcadd4137b56b82729c70c78a # Parent f6d12afe832241e6f9f1a99d52ee97efd0960fab tests: capture .hg/merge/state presence as well diff -r f6d12afe8322 -r db0fd1f1a7d0 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 f6d12afe8322 -r db0fd1f1a7d0 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