/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-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
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
 
import contextlib
 
37
from __future__ import absolute_import
38
38
 
39
39
from . import (
 
40
    cleanup,
40
41
    errors,
41
42
    )
42
43
from .controldir import ControlDir
100
101
    except errors.NotBranchError:
101
102
        base_tree = branch = repo = None
102
103
 
103
 
    with contextlib.ExitStack() as exit_stack:
 
104
    with cleanup.ExitStack() as exit_stack:
104
105
        needed_refs = {}
105
106
        if base_tree is not None:
106
107
            # If the tree is a lightweight checkout we won't see it in