/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/blackbox/test_branch.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:
67
67
        self.runbzr('branch source target --basis commit_tree')
68
68
        target = bzrdir.BzrDir.open('target')
69
69
        self.assertEqual('2', target.open_branch().last_revision())
70
 
        self.assertEqual('2', target.open_workingtree().last_revision())
 
70
        self.assertEqual(['2'], target.open_workingtree().get_parent_ids())
71
71
        self.assertTrue(target.open_branch().repository.has_revision('2'))
72
72
 
73
73
    def test_branch_only_copies_history(self):