294
294
second_revision = tree.commit('second post')
295
295
tree.add_parent_tree_id(first_revision)
296
296
self.assertConsistentParents([second_revision, first_revision], tree)
298
298
def test_add_second_parent_id_ghost(self):
299
299
"""Test adding the second parent id - as a ghost"""
300
300
tree = self.make_branch_and_tree('.')
301
301
first_revision = tree.commit('first post')
302
302
tree.add_parent_tree_id('second')
303
303
self.assertConsistentParents([first_revision, 'second'], tree)
305
305
def test_add_first_parent_tree(self):
306
306
"""Test adding the first parent id"""
307
307
tree = self.make_branch_and_tree('.')