comparison tests/test-split.t @ 46924:ca0049946e9a

split: avoid strip if split is a no-op (identical to original) Differential Revision: https://phab.mercurial-scm.org/D10389
author Kyle Lippincott <spectral@google.com>
date Mon, 12 Apr 2021 19:25:34 -0700
parents 8ee1ac083ee7
children 7a90fddb13b0
comparison
equal deleted inserted replaced
46923:8ee1ac083ee7 46924:ca0049946e9a
1084 HG: -- 1084 HG: --
1085 HG: user: test 1085 HG: user: test
1086 HG: branch 'default' 1086 HG: branch 'default'
1087 HG: added foo 1087 HG: added foo
1088 warning: commit already existed in the repository! 1088 warning: commit already existed in the repository!
1089 saved backup bundle to $TESTTMP/noop/.hg/strip-backup/ae694b2901bb-28e0b457-split.hg (obsstore-off !)
1090 transaction abort! (obsstore-on !)
1091 rollback completed (obsstore-on !)
1092 abort: changeset ae694b2901bb cannot obsolete itself (obsstore-on !)
1093 FIXME: this should not have stripped the commit we just no-op split
1094 (obsstore-off only)
1095 $ hg log -G -T'{phase} {rev}:{node|short} {desc}' 1089 $ hg log -G -T'{phase} {rev}:{node|short} {desc}'
1096 warning: ignoring unknown working parent ae694b2901bb! (obsstore-off !) 1090 @ draft 1:ae694b2901bb foo
1097 @ draft 1:ae694b2901bb foo (obsstore-on !) 1091 |
1098 | (obsstore-on !)
1099 o public 0:222799e2f90b r0 1092 o public 0:222799e2f90b r0
1100 1093
1101 1094
1102 Now try the same thing but modifying the message so we don't trigger the 1095 Now try the same thing but modifying the message so we don't trigger the
1103 identical changeset failures 1096 identical changeset failures