/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/plugins/fastimport/branch_updater.py

  • Committer: Martin
  • Date: 2017-06-05 20:48:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6658.
  • Revision ID: gzlist@googlemail.com-20170605204831-20accykspjcrx0a8
Apply 2to3 dict fixer and clean up resulting mess using view helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        """
78
78
        branch_tips = []
79
79
        lost_heads = []
80
 
        ref_names = self.heads_by_ref.keys()
 
80
        ref_names = list(self.heads_by_ref)
81
81
        if self.branch is not None:
82
82
            trunk = self.select_trunk(ref_names)
83
83
            default_tip = self.heads_by_ref[trunk][0]