changeset 50068:b35fb0e5b8d6

rollback: avoid a `hg commit --addremove` at a critical point The rollback behavior around `hg commit --addremove` has changed slightly. It does not really matters here but keeping that variant out of the way cannot hurt.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 15 Feb 2023 23:39:10 +0100
parents 059910ac7b76
children 81870c92c293
files tests/test-rollback.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-rollback.t	Wed Feb 15 20:48:51 2023 +0100
+++ b/tests/test-rollback.t	Wed Feb 15 23:39:10 2023 +0100
@@ -70,8 +70,8 @@
   |
   o  0  [default] (bar) add a again
   
-  $ hg commit -Am'add b'
-  adding b
+  $ hg add b
+  $ hg commit -m'add b'
   $ hg log -G --template '{rev}  [{branch}] ({bookmarks}) {desc|firstline}\n'
   @  2  [test] (foo) add b
   |