326
327
# a descendent of the other. (B, D)
327
328
super(TestPreviousHeads, self).setUp()
328
329
self.build_tree(['file'])
330
331
self.wt = self.branch.working_tree()
331
332
self.wt.commit('new branch', allow_pointless=True, rev_id='A')
332
333
self.inv_A = self.branch.get_inventory('A')
334
335
self.wt.commit('add file', rev_id='B')
335
336
self.inv_B = self.branch.get_inventory('B')
336
337
self.branch.put_controlfile('revision-history', 'A\n')