/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

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