~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Parth Malwankar
  • Date: 2010-05-13 09:54:03 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100513095403-0zr0oz16ievu9an2
code cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
                self.to_repository._format)
125
125
            stream = source.get_stream(search)
126
126
            from_format = self.from_repository._format
127
 
            # TODO: slow
128
127
            pb.update("Inserting stream")
129
128
            resume_tokens, missing_keys = self.sink.insert_stream(
130
129
                stream, from_format, [])
133
132
                    self._parent_inventories(search.get_keys()))
134
133
            if missing_keys:
135
134
                pb.update("Missing keys")
136
 
                # TODO: slow
137
135
                stream = source.get_stream_for_missing_keys(missing_keys)
138
136
                pb.update("Inserting missing keys")
139
137
                resume_tokens, missing_keys = self.sink.insert_stream(