/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/tests/test_graph.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-05 23:35:09 UTC
  • mfrom: (6658 work)
  • mto: (6653.3.3 bzrwt)
  • mto: This revision was merged to the branch mainline in revision 6667.
  • Revision ID: jelmer@jelmer.uk-20170605233509-30wo916k6meuggqf
MergeĀ lp:brz

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
        """
498
498
        pending = [NULL_REVISION]
499
499
        descendants = {}
500
 
        for descendant, parents in ancestors.iteritems():
 
500
        for descendant, parents in ancestors.items():
501
501
            for parent in parents:
502
502
                descendants.setdefault(parent, []).append(descendant)
503
503
        while len(pending) > 0: