~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

(robertc) Deprecate WorkingTree.pending_merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
729
729
        output_string = output.getvalue()
730
730
        self.assertContainsRe(output_string, "--date [0-9.]+")
731
731
        if workingtree is not None:
732
 
            revision_id = workingtree.last_revision()
 
732
            revision_id = workingtree.get_parent_ids()[0]
733
733
            self.assertEndsWith(output_string.rstrip(), revision_id)
734
734
 
735
735