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

Support pulling from git to git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
488
488
            determine_wants = lambda x: [y for y in args if not y in r.object_store]
489
489
 
490
490
        graphwalker = SimpleFetchGraphWalker(r.heads().values(), r.get_parents)
491
 
        f, commit = r.object_store.add_pack()
 
491
        f, commit = r.object_store.add_thin_pack()
492
492
        try:
493
 
            self.source._git.fetch_pack(path, determine_wants, graphwalker, f.write, progress)
494
 
            f.close()
 
493
            self.source.fetch_pack(determine_wants, graphwalker, f.write, progress)
495
494
            commit()
496
495
        except:
497
496
            f.close()