/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/tsort.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:
363
363
        # we need to do a check late in the process to detect end-of-merges
364
364
        # which requires the parents to be accessible: its easier for now
365
365
        # to just keep the original graph around.
366
 
        self._original_graph = dict(self._graph.items())
 
366
        self._original_graph = self._graph.copy()
367
367
        # we need to know the revision numbers of revisions to determine
368
368
        # the revision numbers of their descendants
369
369
        # this is a graph from node to [revno_tuple, first_child]