/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/fetch.py

  • Committer: Robert Collins
  • Date: 2008-06-17 05:02:34 UTC
  • mto: This revision was merged to the branch mainline in revision 3510.
  • Revision ID: robertc@robertcollins.net-20080617050234-knib0hpz6pjx3sl1
Review feedback, making things more clear, adding documentation on what is used where.

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
                self.from_repository, self._last_revision,
222
222
                find_ghosts=self.find_ghosts)
223
223
        except errors.NoSuchRevision, e:
224
 
            import pdb;pdb.set_trace()
225
224
            raise InstallFailed([self._last_revision])
226
225
 
227
226
    def _fetch_inventory_weave(self, revs, pb):
387
386
        root_id_order.sort(key=operator.itemgetter(0))
388
387
        # Create a record stream containing the roots to create.
389
388
        def yield_roots():
390
 
            for root_id, rev_id in root_id_order:
391
 
                key = (root_id, rev_id)
 
389
            for key in root_id_order:
 
390
                root_id, rev_id = key
392
391
                rev_parents = parent_map[rev_id]
393
392
                # We drop revision parents with different file-ids, because
394
393
                # that represents a rename of the root to a different location