~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Remove usage of tree.pending_merges().

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
        bzr('merge', '../other')
325
325
 
326
326
        self.failUnlessExists('c')
327
 
        tree = WorkingTree.open('.')
328
 
        self.assertEqual([new_rev_id], tree.pending_merges())
 
327
        tree = WorkingTree.open('.') # opens child
 
328
        self.assertEqual([new_rev_id], tree.get_parent_ids()[1:])
329
329
 
330
330
        # Make sure the local branch has the installed revision
331
331
        bzr('cat-revision', new_rev_id)