~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/upgrade.py

Merged Martin

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