Jelmer Vernooij
|
868e7e04ed
For the moment, keep deltification disabled - but add a flag to enable it.
|
hace 11 años |
Augie Fackler
|
aa0b08fe36
pack.write_pack_objects: when packing, actually build deltas
|
hace 11 años |
Augie Fackler
|
8dba3aa25a
pack.write_pack_data: when writing OFS_DELTA entries, write correct offset
|
hace 11 años |
Jelmer Vernooij
|
1023ae8298
Add tests for encode functions.
|
hace 11 años |
Augie Fackler
|
440d8882f6
pack.create_delta: fix copy operations that are larger than 2^24 bytes
|
hace 11 años |
Augie Fackler
|
d5abe9f5a5
pack.create_delta: correctly encode copy operations up to 2^24 in size
|
hace 11 años |
Augie Fackler
|
ed3089ee11
pack.create_delta: rename a couple of variables to make the code clearer
|
hace 11 años |
Augie Fackler
|
ca8181a754
pack.create_delta: move encode_size to not be a nested function
|
hace 11 años |
Augie Fackler
|
61a3664693
pack: enhance docstring on deltify_pack_objects
|
hace 11 años |
Gary van der Merwe
|
e00ce69f19
Close files for Pack objects.
|
hace 11 años |
Gary van der Merwe
|
395b1460cb
Alter itertools import statement so that 2to3 fixes it.
|
hace 11 años |
Jelmer Vernooij
|
f6439d709d
Merge branch 'py3k' of git://github.com/Ormod/dulwich
|
hace 11 años |
Jelmer Vernooij
|
5a4e20d14b
Add pep8 make target and fix some pep8ness.
|
hace 11 años |
Hannu Valtonen
|
2b721b6b86
py3k: Go through all uses of itertools and make them work on py3k
|
hace 11 años |
Gary van der Merwe
|
c6453c6d42
Use int division `//` insted of float division `/`.
|
hace 11 años |
Damien Tournoud
|
c823cad860
DeltaChainIterator: fix a corner case where an object is inflated as an object already in the repository. Fixes #135.
|
hace 11 años |
Gary van der Merwe
|
8914c3457f
Use io.BytesIO rather than cStringIO.
|
hace 11 años |
Gary van der Merwe
|
55124a5ea8
Apply lib2to3.fixes.tuple_params, and provied sensible names and docs.
|
hace 11 años |
Gary van der Merwe
|
6ce5acaf9a
Apply some lib2to3.fixes.fix_idioms (exclued list(x).sort() -> sorted(x) changes.)
|
hace 11 años |
Gary van der Merwe
|
7719284af3
Apply lib2to3.fixes.fix_numliterals
|
hace 11 años |
Jelmer Vernooij
|
19a7e0d218
Use PackData.filename attribute.
|
hace 11 años |
Jelmer Vernooij
|
f93d42b8e6
Drop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.
|
hace 11 años |
Jelmer Vernooij
|
3c23765bd3
Drop compatibility functions for `hashlib.sha1`.
|
hace 11 años |
Jelmer Vernooij
|
93260075e4
Drop compatibility replacement for unpack_from.
|
hace 11 años |
Jelmer Vernooij
|
1dabfc2542
Remove compatibility code for collections.defaultdict, in preparation of
|
hace 11 años |
Jelmer Vernooij
|
12646e0442
Two minor optimizations in heavily used code paths.
|
hace 11 años |
Jelmer Vernooij
|
2cae2611bf
Pass in known sha.
|
hace 11 años |
Jelmer Vernooij
|
c42e47b57c
Update some copyright headers.
|
hace 11 años |
Jelmer Vernooij
|
3e8799a271
Avoid unnecessary re-opening of index files during pack close.
|
hace 12 años |
William Grant
|
1317237e92
Pack's constructor now takes resolve_ext_ref.
|
hace 12 años |