/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-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

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