Mercurial > evolve
diff tests/test-evolve-orphan-merge.t @ 6316:b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
This data shows in TortoiseHg, and is a bit awkward since it wasn't added before
in the non interrupted case. It originated before 823031b51d81, when the
implementation changed away from using the graft command. According to
@marmoute, unconditionally adding `source` served as noise to create a new hash
and prevent a cycle, so use the same key (`rebase_source`) as would happen in
the uninterrupted case (as demonstrated by the first change in
test-stabilize-conflict.t).
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 07 Oct 2022 18:14:58 -0400 |
parents | 1cbafebe874b |
children | 1328195f76a9 |
line wrap: on
line diff
--- a/tests/test-evolve-orphan-merge.t Sat Oct 29 17:26:46 2022 +0400 +++ b/tests/test-evolve-orphan-merge.t Fri Oct 07 18:14:58 2022 -0400 @@ -217,10 +217,10 @@ continue: hg evolve --continue $ hg evolve --continue evolving 10:fd41d25a3e90 "foobar to c" - working directory is now at c5405d2da7a1 + working directory is now at 6b3ccba26ce3 $ hg glog - @ 12:c5405d2da7a1 foobar to c + @ 12:6b3ccba26ce3 foobar to c |\ () draft | o 11:31c317b7bdb1 foo to c | | () draft @@ -230,7 +230,7 @@ () draft $ hg parents - changeset: 12:c5405d2da7a1 + changeset: 12:6b3ccba26ce3 tag: tip parent: 9:d0f84b25d4e3 parent: 11:31c317b7bdb1 @@ -249,7 +249,7 @@ $ hg glog @ 13:928097d0b5b5 foo to c | () draft - | * 12:c5405d2da7a1 foobar to c + | * 12:6b3ccba26ce3 foobar to c | |\ () draft orphan +---x 11:31c317b7bdb1 foo to c | | () draft @@ -273,11 +273,11 @@ continue: hg evolve --continue $ hg evolve --continue - evolving 12:c5405d2da7a1 "foobar to c" - working directory is now at dc1948a6eeab + evolving 12:6b3ccba26ce3 "foobar to c" + working directory is now at 6feadc8fabd5 $ hg glog - @ 14:dc1948a6eeab foobar to c + @ 14:6feadc8fabd5 foobar to c |\ () draft | o 13:928097d0b5b5 foo to c | | () draft @@ -289,7 +289,7 @@ 3) When stabilizing other changesets resulted in orphan merge changeset ----------------------------------------------------------------------- - $ hg prune -r d0f84b25d4e3 -r 928097d0b5b5 -r dc1948a6eeab + $ hg prune -r d0f84b25d4e3 -r 928097d0b5b5 -r 6feadc8fabd5 0 files updated, 0 files merged, 1 files removed, 0 files unresolved working directory is now at 8fa14d15e168 3 changesets pruned