comparison tests/test-stabilize-result.t @ 533:87c41ef95ebf stable

test conflicting conflicting (sic) resolution
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 30 Aug 2012 13:50:17 +0200
parents 0bc0c9edcb15
children 45ccaba212f9
comparison
equal deleted inserted replaced
532:744db7a27dd0 533:87c41ef95ebf
229 229
230 Stabilize It 230 Stabilize It
231 231
232 $ hg evolve -qn 232 $ hg evolve -qn
233 hg update -c 3883461cc228 && 233 hg update -c 3883461cc228 &&
234 hg merge 4754d61bc2db && 234 hg merge 4754d61bc2db &&
235 hg commit -m "auto merge resolving conflict between 3883461cc228 and 4754d61bc2db"&& 235 hg commit -m "auto merge resolving conflict between 3883461cc228 and 4754d61bc2db"&&
236 hg up -C 7391601a4bfa && 236 hg up -C 7391601a4bfa &&
237 hg revert --all --rev tip && 237 hg revert --all --rev tip &&
238 hg commit -m "`hg log -r 3883461cc228 --template={desc}`"; 238 hg commit -m "`hg log -r 3883461cc228 --template={desc}`";
239 $ hg evolve -v 239 $ hg evolve -v
286 +zephir 286 +zephir
287 +some 287 +some
288 +less 288 +less
289 +conflict 289 +conflict
290 +babar 290 +babar
291
292 Check conflicting during conflicting resolution
293 -------------------------------------------------
294
295 $ hg up 15
296 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
297 Working directory parent is obsolete
298 $ echo 'gotta break' >> a
299 $ hg amend
300 1 new conflicting changesets
301 $ hg evolve -qn
302 hg update -c c956a4b140b6 &&
303 hg merge ac6d600735a4 &&
304 hg commit -m "auto merge resolving conflict between c956a4b140b6 and ac6d600735a4"&&
305 hg up -C 7391601a4bfa &&
306 hg revert --all --rev tip &&
307 hg commit -m "`hg log -r c956a4b140b6 --template={desc}`";
308 $ hg evolve
309 merge:[24] More addition
310 with: [22] More addition
311 base: [15] More addition
312 merging a
313 warning: conflicts during merge.
314 merging a incomplete! (edit conflicts, then use 'hg resolve --mark')
315 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
316 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
317 abort: GASP! Merge Conflict! You are on you own chap!
318 (/!\ hg evolve --continue will NOT work /!\)
319 [255]