~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/upgrade.py

  • Committer: Martin Pool
  • Date: 2005-11-01 21:51:17 UTC
  • mfrom: (1185.16.147)
  • mto: (1185.33.49 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: mbp@sourcefrog.net-20051101215117-e7c33dde397b2350
[merge] main -> bzr.mbp.basic_io

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        # to_read is a stack holding the revisions we still need to process;
161
161
        # appending to it adds new highest-priority revisions
162
162
        self.known_revisions = set(rev_history)
163
 
        self.to_read = [rev_history[-1]]
 
163
        self.to_read = rev_history[-1:]
164
164
        while self.to_read:
165
165
            rev_id = self.to_read.pop()
166
166
            if (rev_id not in self.revisions