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

Support pushing git->git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        self.source.lock_read()
214
214
        try:
215
215
            store = BazaarObjectStore(self.source, self.mapping)
216
 
            def generate_blob_contents(have, want):
217
 
                return store.iter_shas(store.find_missing_objects(have, want))
218
216
            new_refs = self.target.send_pack(determine_wants,
219
 
                    generate_blob_contents)
 
217
                    store.generate_pack_contents)
220
218
        finally:
221
219
            self.source.unlock()
222
220
        return revidmap, new_refs