comparison tests/test-evolve-issue5958.t @ 5475:21956b2a16eb

evolve: add more testing for parent-child form content-div this patch add second variant of "changeset we initiated the resolution (of content-divergent changesets which are in parent-child form) from"
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Tue, 28 Jul 2020 14:26:44 +0530
parents 86c6c7951f74
children d7d954b6d518
comparison
equal deleted inserted replaced
5474:86c6c7951f74 5475:21956b2a16eb
103 o changeset: 0:a24ed8ad918c 103 o changeset: 0:a24ed8ad918c
104 user: test 104 user: test
105 date: Thu Jan 01 00:00:00 1970 +0000 105 date: Thu Jan 01 00:00:00 1970 +0000
106 summary: add r0 106 summary: add r0
107 107
108 test that resolution is consistent and independent of divergent changeset we initiate the resolution from
109
110 $ hg strip . --config extensions.strip=
111 0 files updated, 0 files merged, 3 files removed, 0 files unresolved
112 saved backup bundle to $TESTTMP/issue5958/.hg/strip-backup/17e66b2fbf1b-080f2943-backup.hg
113 2 new content-divergent changesets
114 $ hg up 4
115 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
116 $ hg evolve --content-divergent
117 merge:[4] add foo.txt
118 with: [6] add foo.txt
119 base: [1] add foo.txt
120 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
121 working directory is now at 17e66b2fbf1b
122 $ hg log -G
123 @ changeset: 7:17e66b2fbf1b
124 | tag: tip
125 | parent: 0:a24ed8ad918c
126 | user: test
127 | date: Wed Dec 31 23:59:58 1969 -0000
128 | summary: add foo.txt
129 |
130 o changeset: 0:a24ed8ad918c
131 user: test
132 date: Thu Jan 01 00:00:00 1970 +0000
133 summary: add r0
134