/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-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:
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: