~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_merge.py

(robertc) Deprecate WorkingTree.pending_merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        file('../bundle', 'wb').write(self.runbzr('bundle ../branch_a')[0])
195
195
        os.chdir('../branch_a')
196
196
        self.runbzr('merge ../bundle', retcode=1)
197
 
        testament_a = Testament.from_revision(tree_a.branch.repository, 
198
 
                                              tree_b.last_revision())
 
197
        testament_a = Testament.from_revision(tree_a.branch.repository,
 
198
                                              tree_b.get_parent_ids()[0])
199
199
        testament_b = Testament.from_revision(tree_b.branch.repository,
200
 
                                              tree_b.last_revision())
 
200
                                              tree_b.get_parent_ids()[0])
201
201
        self.assertEqualDiff(testament_a.as_text(),
202
202
                         testament_b.as_text())
203
203
        tree_a.set_conflicts(ConflictList())