/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 bzrlib/graph.py

  • Committer: John Arbash Meinel
  • Date: 2008-04-22 20:30:26 UTC
  • mto: This revision was merged to the branch mainline in revision 3407.
  • Revision ID: john@arbash-meinel.com-20080422203026-s8kpv2f9pm1cjocb
Fix a latent bug in Graph.get_parents()

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
        Deprecated in bzr 1.2 - please see get_parent_map.
223
223
        """
224
224
        parents = self.get_parent_map(revisions)
225
 
        return [parent.get(r, None) for r in revisions]
 
225
        return [parents.get(r, None) for r in revisions]
226
226
 
227
227
    def get_parent_map(self, revisions):
228
228
        """Get a map of key:parent_list for revisions.