/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/_annotator_py.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from __future__ import absolute_import
20
20
 
21
 
from bzrlib.lazy_import import lazy_import
 
21
from .lazy_import import lazy_import
22
22
lazy_import(globals(), """
23
 
from bzrlib import (
 
23
from breezy import (
24
24
    annotate, # Must be lazy to avoid circular importing
25
25
    graph as _mod_graph,
26
26
    patiencediff,
27
27
    )
28
28
""")
29
 
from bzrlib import (
 
29
from . import (
30
30
    errors,
31
31
    osutils,
32
32
    ui,
70
70
        self._num_needed_children[key] = 1
71
71
        vf_keys_needed = set()
72
72
        ann_keys_needed = set()
73
 
        needed_keys = set([key])
 
73
        needed_keys = {key}
74
74
        while needed_keys:
75
75
            parent_lookup = []
76
76
            next_parent_map = {}