##// END OF EJS Templates
tests: update annotate tests to work around simplemerge bug...
Martin von Zweigbergk -
r42446:d5b35d69 default
parent child Browse files
Show More
@@ -273,10 +273,31 b' annotate after merge with -l'
273 > EOF
273 > EOF
274 $ hg ci -mc -d '3 0'
274 $ hg ci -mc -d '3 0'
275 created new head
275 created new head
276 Work around the pure version not resolving the conflict like native code
277 #if pure
278 $ hg merge
279 merging b
280 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
281 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
282 use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon
283 [1]
284 $ cat <<EOF > b
285 > a
286 > z
287 > a
288 > b4
289 > c
290 > b5
291 > EOF
292 $ hg resolve -m b
293 (no more unresolved files)
294 $ rm b.orig
295 #else
276 $ hg merge
296 $ hg merge
277 merging b
297 merging b
278 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
298 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
279 (branch merge, don't forget to commit)
299 (branch merge, don't forget to commit)
300 #endif
280 $ echo d >> b
301 $ echo d >> b
281 $ hg ci -mmerge2 -d '4 0'
302 $ hg ci -mmerge2 -d '4 0'
282
303
@@ -273,10 +273,31 b' annotate after merge with -l'
273 > EOF
273 > EOF
274 $ hg ci -mc -d '3 0'
274 $ hg ci -mc -d '3 0'
275 created new head
275 created new head
276 Work around the pure version not resolving the conflict like native code
277 #if pure
278 $ hg merge
279 merging b
280 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
281 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
282 use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon
283 [1]
284 $ cat <<EOF > b
285 > a
286 > z
287 > a
288 > b4
289 > c
290 > b5
291 > EOF
292 $ hg resolve -m b
293 (no more unresolved files)
294 $ rm b.orig
295 #else
276 $ hg merge
296 $ hg merge
277 merging b
297 merging b
278 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
298 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
279 (branch merge, don't forget to commit)
299 (branch merge, don't forget to commit)
300 #endif
280 $ echo d >> b
301 $ echo d >> b
281 $ hg ci -mmerge2 -d '4 0'
302 $ hg ci -mmerge2 -d '4 0'
282
303
General Comments 0
You need to be logged in to leave comments. Login now