##// END OF EJS Templates
histedit: make check for unresolved conflicts explicit (issue5545)...
Siddharth Agarwal -
r32057:e5ffc91a stable
parent child Browse files
Show More
@@ -198,6 +198,7 b' from mercurial import ('
198 198 hg,
199 199 lock,
200 200 merge as mergemod,
201 mergeutil,
201 202 node,
202 203 obsolete,
203 204 repair,
@@ -1297,6 +1298,10 b' def _getsummary(ctx):'
1297 1298
1298 1299 def bootstrapcontinue(ui, state, opts):
1299 1300 repo = state.repo
1301
1302 ms = mergemod.mergestate.read(repo)
1303 mergeutil.checkunresolved(ms)
1304
1300 1305 if state.actions:
1301 1306 actobj = state.actions.pop(0)
1302 1307
@@ -161,12 +161,17 b' fix up'
161 161 warning: conflicts while merging e! (edit, then use 'hg resolve --mark')
162 162 Fix up the change (pick 7b4e2f4b7bcd)
163 163 (hg histedit --continue to resume)
164 $ hg histedit --continue 2>&1 | fixbundle
165 abort: unresolved merge conflicts (see 'hg help resolve')
164 166
165 167 This failure is caused by 7b4e2f4b7bcd "e" not rebasing the non commutative
166 168 former children.
167 169
168 170 just continue this time
169 171 $ hg revert -r 'p1()' e
172 make sure the to-be-empty commit doesn't screw up the state (issue5545)
173 $ hg histedit --continue 2>&1 | fixbundle
174 abort: unresolved merge conflicts (see 'hg help resolve')
170 175 $ hg resolve --mark e
171 176 (no more unresolved files)
172 177 continue: hg histedit --continue
General Comments 0
You need to be logged in to leave comments. Login now