/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: Jelmer Vernooij
  • Date: 2017-06-10 00:52:08 UTC
  • mfrom: (6675 work)
  • mto: (6670.4.8 move-bzr)
  • mto: This revision was merged to the branch mainline in revision 6681.
  • Revision ID: jelmer@jelmer.uk-20170610005208-dthx80fkolfpsenj
Merge trunk.

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]