Robert Brown
|
541c0e22d8
Limit delta copy length to 64K.
|
11 years ago |
Jelmer Vernooij
|
fe043403c7
Add extra check for bytes to read in compute_file_sha.
|
11 years ago |
David Ostrovsky
|
658a568520
Fix typo in method description
|
11 years ago |
Gary van der Merwe
|
d2c8e35368
Use with statement rather than try: finaly: x.close().
|
11 years ago |
Jelmer Vernooij
|
0703edd76d
For the moment, keep deltification disabled - but add a flag to enable it.
|
11 years ago |
Augie Fackler
|
ca4130a887
pack.write_pack_objects: when packing, actually build deltas
|
11 years ago |
Augie Fackler
|
7d16017d3f
pack.write_pack_data: when writing OFS_DELTA entries, write correct offset
|
11 years ago |
Jelmer Vernooij
|
862e8d8d37
Add tests for encode functions.
|
11 years ago |
Augie Fackler
|
d7ccc101b6
pack.create_delta: fix copy operations that are larger than 2^24 bytes
|
11 years ago |
Augie Fackler
|
7acfcbec50
pack.create_delta: correctly encode copy operations up to 2^24 in size
|
11 years ago |
Augie Fackler
|
bf9053d9ca
pack.create_delta: rename a couple of variables to make the code clearer
|
11 years ago |
Augie Fackler
|
c6bed34b64
pack.create_delta: move encode_size to not be a nested function
|
11 years ago |
Augie Fackler
|
f9dfc21eb5
pack: enhance docstring on deltify_pack_objects
|
11 years ago |
Gary van der Merwe
|
caa4d286bb
Close files for Pack objects.
|
11 years ago |
Gary van der Merwe
|
57e38e1c18
Alter itertools import statement so that 2to3 fixes it.
|
11 years ago |
Jelmer Vernooij
|
eedce5a1af
Merge branch 'py3k' of git://github.com/Ormod/dulwich
|
11 years ago |
Jelmer Vernooij
|
c4c1fec37b
Add pep8 make target and fix some pep8ness.
|
11 years ago |
Hannu Valtonen
|
424b7f0d2a
py3k: Go through all uses of itertools and make them work on py3k
|
11 years ago |
Gary van der Merwe
|
732581b2be
Use int division `//` insted of float division `/`.
|
11 years ago |
Damien Tournoud
|
a49751e99c
DeltaChainIterator: fix a corner case where an object is inflated as an object already in the repository. Fixes #135.
|
11 years ago |
Gary van der Merwe
|
17b8807913
Use io.BytesIO rather than cStringIO.
|
11 years ago |
Gary van der Merwe
|
4df804b2b0
Apply lib2to3.fixes.tuple_params, and provied sensible names and docs.
|
11 years ago |
Gary van der Merwe
|
33b179de80
Apply some lib2to3.fixes.fix_idioms (exclued list(x).sort() -> sorted(x) changes.)
|
11 years ago |
Gary van der Merwe
|
5e19901e63
Apply lib2to3.fixes.fix_numliterals
|
11 years ago |
Jelmer Vernooij
|
c04c801a84
Use PackData.filename attribute.
|
12 years ago |
Jelmer Vernooij
|
eefef0f7b0
Drop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.
|
12 years ago |
Jelmer Vernooij
|
4cd7b15f88
Drop compatibility functions for `hashlib.sha1`.
|
12 years ago |
Jelmer Vernooij
|
ec7813fab8
Drop compatibility replacement for unpack_from.
|
12 years ago |
Jelmer Vernooij
|
4bfc3b59c8
Remove compatibility code for collections.defaultdict, in preparation of
|
12 years ago |
Jelmer Vernooij
|
f7d5684b78
Two minor optimizations in heavily used code paths.
|
12 years ago |