/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 16:40:42 UTC
  • mfrom: (6653.6.7 rename-controldir)
  • mto: This revision was merged to the branch mainline in revision 6690.
  • Revision ID: jelmer@jelmer.uk-20170610164042-zrxqgy2htyduvke2
MergeĀ rename-controldirĀ branch.

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.')