comparison tests/test-rebase-conflicts.t @ 30460:ce3a133f71b3

conflicts: make spacing consistent in conflict markers The way default marker template was defined before this patch, the spacing before dash in conflict markes was dependent on whether changeset is a tip one or not. This is a relevant part of template: '{ifeq(tags, "tip", "", "{tags} "}' If revision is a tip revision with no other tags, this would resolve to an empty string, but for revisions which are not tip and don't have any other tags, this would resolve to a single space string. In the end this causes weirdnesses like the ones you can see in the affected tests. This is a not a big deal, but double spacing may be visually less pleasant. Please note that test changes where commit hashes change are the result of marking files as resolved without removing markers.
author Kostia Balytskyi <ikostia@fb.com>
date Sat, 19 Nov 2016 15:41:37 -0800
parents 86f4ef63d507
children 749b057b01f3
comparison
equal deleted inserted replaced
30459:bccd89b46cbf 30460:ce3a133f71b3
331 --- a/a Thu Jan 01 00:00:00 1970 +0000 331 --- a/a Thu Jan 01 00:00:00 1970 +0000
332 +++ b/a * (glob) 332 +++ b/a * (glob)
333 @@ -1,2 +1,6 @@ 333 @@ -1,2 +1,6 @@
334 a 334 a
335 b 335 b
336 +<<<<<<< dest: 328e4ab1f7cc ab - test: ab 336 +<<<<<<< dest: 328e4ab1f7cc ab - test: ab
337 +======= 337 +=======
338 +c 338 +c
339 +>>>>>>> source: 7bc217434fc1 - test: abc 339 +>>>>>>> source: 7bc217434fc1 - test: abc
340 $ hg rebase --abort 340 $ hg rebase --abort
341 rebase aborted 341 rebase aborted
350 diff -r 328e4ab1f7cc a 350 diff -r 328e4ab1f7cc a
351 --- a/a Thu Jan 01 00:00:00 1970 +0000 351 --- a/a Thu Jan 01 00:00:00 1970 +0000
352 +++ b/a * (glob) 352 +++ b/a * (glob)
353 @@ -1,2 +1,8 @@ 353 @@ -1,2 +1,8 @@
354 a 354 a
355 +<<<<<<< dest: 328e4ab1f7cc ab - test: ab 355 +<<<<<<< dest: 328e4ab1f7cc ab - test: ab
356 b 356 b
357 +||||||| base 357 +||||||| base
358 +======= 358 +=======
359 +b 359 +b
360 +c 360 +c