~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: John Arbash Meinel
  • Date: 2009-05-11 18:59:15 UTC
  • mto: This revision was merged to the branch mainline in revision 4392.
  • Revision ID: john@arbash-meinel.com-20090511185915-syglc7tz3vsprwpu
Some cleanup passes.

move test_resume_chk_bytes from per_repository_referece to test_pack_repository,
as it is a bit more implementation specific.
Make sure we don't allow get_stream_for_missing_keys() if we have a pending stream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        map(parents.update, parent_maps.itervalues())
182
182
        parents.discard(NULL_REVISION)
183
183
        parents.difference_update(revision_ids)
184
 
        # Now we have the set of parents that are just at the edge for all
185
 
        # of these entries. Cull out parents that are already present in the
186
 
        # target
187
 
        # TODO: This should be done on the inventory index, and should be done
188
 
        #       only on the target *without* backing VFS.
189
 
        # present_parents = self.to_repository.get_parent_map(parents)
190
 
        # parents.difference_update(present_parents)
191
184
        missing_keys = set(('inventories', rev_id) for rev_id in parents)
192
185
        return missing_keys
193
186