/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/workingtree_implementations/test_executable.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:
75
75
        # TODO: Maybe this should be a blackbox test
76
76
        dir2 = self.wt.branch.bzrdir.clone('b2', revision_id='r1')
77
77
        wt2 = dir2.open_workingtree()
78
 
        self.assertEqual('r1', wt2.last_revision())
 
78
        self.assertEqual(['r1'], wt2.get_parent_ids())
79
79
        self.assertEqual('r1', wt2.branch.last_revision())
80
80
        return wt2
81
81
 
149
149
 
150
150
        # Make sure pull will delete the files
151
151
        wt2.pull(self.wt.branch)
152
 
        self.assertEquals('r2', wt2.last_revision())
 
152
        self.assertEquals(['r2'], wt2.get_parent_ids())
153
153
        self.assertEquals('r2', wt2.branch.last_revision())
154
154
        self.check_empty(wt2)
155
155
 
163
163
        self.check_exist(self.wt)
164
164
 
165
165
        wt2.pull(self.wt.branch)
166
 
        self.assertEquals('r3', wt2.last_revision())
 
166
        self.assertEquals(['r3'], wt2.get_parent_ids())
167
167
        self.assertEquals('r3', wt2.branch.last_revision())
168
168
        self.check_exist(wt2)
169
169