diff tests/test-fixup.t @ 6231:d0f0a7b68d2d

branching: merge with stable
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 26 Apr 2022 17:39:11 +0400
parents d18e16b9b793 4298ae0b966d
children 1328195f76a9 237f99ee3d64
line wrap: on
line diff
--- a/tests/test-fixup.t	Fri Apr 08 02:19:50 2022 +0300
+++ b/tests/test-fixup.t	Tue Apr 26 17:39:11 2022 +0400
@@ -56,8 +56,10 @@
 amending the middle of the stack
 --------------------------------
 
+  $ hg bookmark bm
   $ echo 'hookah bar' > bar
   $ hg fixup -r 'desc(bar)'
+  (leaving bookmark bm)
   1 new orphan changesets
 
   $ hg diff -c tip
@@ -70,7 +72,7 @@
 
   $ hg glog
   o  5:2eec5320cfc7 bar
-  |   () draft
+  |   (bm) draft
   | @  3:fd2f632e47ab temporary fixup commit
   | |   () draft
   | *  2:a425495a8e64 baz
@@ -82,7 +84,7 @@
 
   $ hg glog --hidden
   o  5:2eec5320cfc7 bar
-  |   () draft
+  |   (bm) draft
   | x  4:4869c1db2884 temporary fixup commit
   | |   () draft
   | | @  3:fd2f632e47ab temporary fixup commit
@@ -94,6 +96,17 @@
   o  0:e63c23eaa88a foo
       () draft
 
+using --dry-run should only print actions (issue6669)
+
+  $ hg evolve --dry-run
+  update:[5] bar
+
+  $ hg evolve --dry-run --any
+  update:[5] bar
+  move:[2] baz
+  atop:[5] bar
+  hg rebase -r a425495a8e64 -d 2eec5320cfc7
+
   $ hg evolve
   update:[5] bar
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -107,7 +120,7 @@
   o  6:eb1755d9f810 baz
   |   () draft
   @  5:2eec5320cfc7 bar
-  |   () draft
+  |   (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -128,7 +141,7 @@
   @  9:12b5e442244f baz
   |   () secret
   o  5:2eec5320cfc7 bar
-  |   () draft
+  |   (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -149,7 +162,7 @@
   | @  9:12b5e442244f baz
   | |   () secret
   | o  5:2eec5320cfc7 bar
-  |/    () draft
+  |/    (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -249,7 +262,7 @@
   | o  9:12b5e442244f baz
   | |   () secret
   | o  5:2eec5320cfc7 bar
-  |/    () draft
+  |/    (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -286,7 +299,7 @@
   | o  9:12b5e442244f baz
   | |   () secret
   | o  5:2eec5320cfc7 bar
-  |/    () draft
+  |/    (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -310,7 +323,7 @@
   | | o  16:0dd54868f420 update foo
   | |/    () draft
   o |  5:2eec5320cfc7 bar
-  |/    () draft
+  |/    (bm) draft
   o  0:e63c23eaa88a foo
       () draft
 
@@ -325,7 +338,7 @@
   | o  16:0dd54868f420 update foo
   | |   () draft
   o |  5:2eec5320cfc7 bar
-  |/    () draft
+  |/    (bm) draft
   o  0:e63c23eaa88a foo
       () draft
   $ hg diff -c .