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

Fix compatibility with newer versions of dulwich.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    MemoryPackIndex,
34
34
    PackData,
35
35
    Pack,
36
 
    ThinPackData,
37
36
    iter_sha1,
38
37
    load_pack_index_file,
39
38
    write_pack_data,
493
492
        :param path: Path to the pack file.
494
493
        """
495
494
        f.seek(0)
496
 
        data = ThinPackData.from_file(self.get_raw, f, len(f.getvalue()))
 
495
        data = PackData.from_file(self.get_raw, f, len(f.getvalue()))
497
496
        idx = MemoryPackIndex(data.sorted_entries(), data.get_stored_checksum())
498
497
        p = Pack.from_objects(data, idx)
499
498