/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/bzr/fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2020-04-05 19:11:34 UTC
  • mto: (7490.7.16 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200405191134-0aebh8ikiwygxma5
Populate the .gitignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
branch.
23
23
"""
24
24
 
 
25
from __future__ import absolute_import
 
26
 
25
27
import operator
26
28
 
27
29
from ..lazy_import import lazy_import
40
42
    )
41
43
from ..i18n import gettext
42
44
from ..revision import NULL_REVISION
 
45
from ..sixish import (
 
46
    viewvalues,
 
47
    )
43
48
from ..trace import mutter
44
49
 
45
50
 
207
212
            revision_id = tree.get_file_revision(u'')
208
213
            revision_root[revision_id] = root_id
209
214
        # Find out which parents we don't already know root ids for
210
 
        parents = set(parent_map.values())
 
215
        parents = set(viewvalues(parent_map))
211
216
        parents.difference_update(revision_root)
212
217
        parents.discard(NULL_REVISION)
213
218
        # Limit to revisions present in the versionedfile