340
335
tree2 = wt.bzrdir.sprout('tree2').open_workingtree()
341
336
tree3 = wt.bzrdir.sprout('tree3').open_workingtree()
342
337
tree3.commit('commit three a', rev_id='3a')
344
339
tree2.commit('commit three b', rev_id='3b')
346
341
wt.commit('commit three c', rev_id='3c')
347
342
tree2.commit('four-a', rev_id='4a')
349
344
wt.commit('four-b', rev_id='4b')
350
345
mainline_revs = [None, '1', '2', '3c', '4b']
351
346
rev_nos = {'1': 1, '2': 2, '3c': 3, '4b': 4}