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

Support user.signingkey configuration variable in .git/config.

Merged from https://code.launchpad.net/~jelmer/brz/local-git-key/+merge/381000

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Functionality for doing annotations in the 'optimal' way"""
18
18
 
 
19
from __future__ import absolute_import
 
20
 
19
21
from .lazy_import import lazy_import
20
22
lazy_import(globals(), """
21
23
 
31
33
    osutils,
32
34
    ui,
33
35
    )
 
36
from .sixish import (
 
37
    range,
 
38
    viewitems,
 
39
    )
34
40
 
35
41
 
36
42
class Annotator(object):
89
95
                    vf_keys_needed.add(key)
90
96
            needed_keys = set()
91
97
            next_parent_map.update(self._vf.get_parent_map(parent_lookup))
92
 
            for key, parent_keys in next_parent_map.items():
 
98
            for key, parent_keys in viewitems(next_parent_map):
93
99
                if parent_keys is None:  # No graph versionedfile
94
100
                    parent_keys = ()
95
101
                    next_parent_map[key] = ()