~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_executable.py

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
 
125
125
        rev_tree = self.wt.branch.repository.revision_tree('r1')
126
126
        # Now revert back to the previous commit
127
 
        self.wt.revert([], rev_tree, backups=False)
 
127
        self.wt.revert(old_tree=rev_tree, backups=False)
128
128
 
129
129
        self.check_exist(self.wt)
130
130
 
155
155
        # so that the second branch can pull the changes
156
156
        # and make sure that the executable bit has been copied
157
157
        rev_tree = self.wt.branch.repository.revision_tree('r1')
158
 
        self.wt.revert([], rev_tree, backups=False)
 
158
        self.wt.revert(old_tree=rev_tree, backups=False)
159
159
        self.wt.commit('resurrected', rev_id='r3')
160
160
 
161
161
        self.check_exist(self.wt)
172
172
        """
173
173
        self.wt.commit('adding a,b', rev_id='r1')
174
174
        rev_tree = self.wt.branch.repository.revision_tree('r1')
175
 
        self.wt.revert([], rev_tree, backups=False)
 
175
        self.wt.revert(old_tree=rev_tree, backups=False)
176
176
        self.check_exist(self.wt)
177
177