/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/check.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  indicating that the revision was found/not found.
35
35
"""
36
36
 
37
 
from __future__ import absolute_import
 
37
import contextlib
38
38
 
39
39
from . import (
40
 
    cleanup,
41
40
    errors,
42
41
    )
43
42
from .controldir import ControlDir
101
100
    except errors.NotBranchError:
102
101
        base_tree = branch = repo = None
103
102
 
104
 
    with cleanup.ExitStack() as exit_stack:
 
103
    with contextlib.ExitStack() as exit_stack:
105
104
        needed_refs = {}
106
105
        if base_tree is not None:
107
106
            # If the tree is a lightweight checkout we won't see it in