242
def test_dotted_revnos_with_simple_merges(self):
247
# D E F 3, 1.1.2, 1.2.1
249
# G H I 4, 1.2.2, 1.3.1
254
self.assertSortAndIterate(
269
[(0, 'L', 0, (6,), False),
270
(1, 'K', 1, (1,1,1,1,1,1,2), False),
271
(2, 'I', 1, (1,1,1,1,1,1,1), True),
272
(3, 'J', 0, (5,), False),
273
(4, 'H', 1, (1,1,1,1,2), False),
274
(5, 'F', 1, (1,1,1,1,1), True),
275
(6, 'G', 0, (4,), False),
276
(7, 'E', 1, (1,1,2), False),
277
(8, 'C', 1, (1,1,1), True),
278
(9, 'D', 0, (3,), False),
279
(10, 'B', 0, (2,), False),
280
(11, 'A', 0, (1,), True),
282
#[(0, 'L', 0, (6,), False),
283
# (1, 'K', 1, (1,3,2), False),
284
# (2, 'I', 1, (1,3,1), True),
285
# (3, 'J', 0, (5,), False),
286
# (4, 'H', 1, (1,2,2), False),
287
# (5, 'F', 1, (1,2,1), True),
288
# (6, 'G', 0, (4,), False),
289
# (7, 'E', 1, (1,1,2), False),
290
# (8, 'C', 1, (1,1,1), True),
291
# (9, 'D', 0, (3,), False),
292
# (10, 'B', 0, (2,), False),
293
# (11, 'A', 0, (1,), False),
297
# Adding a shortcut from the first revision should not change any of
298
# the existing numbers
299
self.assertSortAndIterate(
316
[(0, 'N', 0, (7,), False),
317
(1, 'M', 1, (1,2,1), True),
318
(2, 'L', 0, (6,), False),
319
(3, 'K', 1, (1,1,1,1,1,1,2), False),
320
(4, 'I', 1, (1,1,1,1,1,1,1), True),
321
(5, 'J', 0, (5,), False),
322
(6, 'H', 1, (1,1,1,1,2), False),
323
(7, 'F', 1, (1,1,1,1,1), True),
324
(8, 'G', 0, (4,), False),
325
(9, 'E', 1, (1,1,2), False),
326
(10, 'C', 1, (1,1,1), True),
327
(11, 'D', 0, (3,), False),
328
(12, 'B', 0, (2,), False),
329
(13, 'A', 0, (1,), True),
331
#[(0, 'N', 0, (7,), False),
332
# (0, 'M', 1, (1,4,1), True),
333
# (0, 'L', 0, (6,), False),
334
# (1, 'K', 1, (1,3,2), False),
335
# (2, 'I', 1, (1,3,1), True),
336
# (3, 'J', 0, (5,), False),
337
# (4, 'H', 1, (1,2,2), False),
338
# (5, 'F', 1, (1,2,1), True),
339
# (6, 'G', 0, (4,), False),
340
# (7, 'E', 1, (1,1,2), False),
341
# (8, 'C', 1, (1,1,1), True),
342
# (9, 'D', 0, (3,), False),
343
# (10, 'B', 0, (2,), False),
344
# (11, 'A', 0, (1,), False),
242
349
def test_end_of_merge_not_last_revision_in_branch(self):
243
350
# within a branch only the last revision gets an
244
351
# end of merge marker.