/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Robert Collins
  • Date: 2006-09-05 08:14:23 UTC
  • mto: (1852.16.2 Tree.walkdirs)
  • mto: This revision was merged to the branch mainline in revision 1993.
  • Revision ID: robertc@robertcollins.net-20060905081423-b1bc9b092a9f8597
DeprecateĀ WorkingTree.last_revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
718
718
        output_string = output.getvalue()
719
719
        self.assertContainsRe(output_string, "--date [0-9.]+")
720
720
        if workingtree is not None:
721
 
            revision_id = workingtree.last_revision()
 
721
            revision_id = workingtree.get_parent_ids()[0]
722
722
            self.assertEndsWith(output_string.rstrip(), revision_id)
723
723
 
724
724