/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 breezy/tests/per_branch/test_break_lock.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:17:06 UTC
  • mto: (6670.4.8 move-bzr)
  • mto: This revision was merged to the branch mainline in revision 6681.
  • Revision ID: jelmer@jelmer.uk-20170610001706-xn6jiuev350246mr
Rename a number of attributes from bzrdir to controldir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                'Repository does not use physical locks.')
50
50
        self.branch.repository.leave_lock_in_place()
51
51
        self.branch.repository.unlock()
52
 
        other_instance = self.branch.repository.bzrdir.open_repository()
 
52
        other_instance = self.branch.repository.controldir.open_repository()
53
53
        if not other_instance.get_physical_lock_status():
54
54
            raise tests.TestNotApplicable(
55
55
                'Repository does not lock persistently.')