Jelmer Vernooij
|
3c23765bd3
Drop compatibility functions for `hashlib.sha1`.
|
11 anos atrás |
Marcin Kuzminski
|
b9f5641e39
Python 2.4+ compat
|
11 anos atrás |
William Grant
|
1317237e92
Pack's constructor now takes resolve_ext_ref.
|
11 anos atrás |
William Grant
|
f1fe509b15
Support thin packs in Pack.iterobjects(), Pack.get_raw().
|
11 anos atrás |
Jelmer Vernooij
|
506338cffd
pack: Split testing of large pack index files into separate test.
|
12 anos atrás |
Jameson Nash
|
372ff769c0
add a test for reading and writing large offsets into index files
|
12 anos atrás |
Jelmer Vernooij
|
2b3f611664
Cherry-pick test for large buffer deltas.
|
13 anos atrás |
Jelmer Vernooij
|
851e9c7a46
Use TestCase.assertEqual rather than TestCase.assertEquals.
|
13 anos atrás |
Dan Callaghan
|
41f57fab55
Make sure base class setup method is called for a few tests.
|
13 anos atrás |
Jelmer Vernooij
|
63b947f4c3
tests: Use .addCleanup in a couple more places.
|
13 anos atrás |
Jelmer Vernooij
|
521ff969bf
Use new unittest addCleanup method.
|
14 anos atrás |
Dave Borowitz
|
a88869bf56
pack: Allow reading of empty packs.
|
14 anos atrás |
Dave Borowitz
|
9105602440
pack: Remove comp_len from UnpackedObject.
|
14 anos atrás |
Dave Borowitz
|
702ff81ff2
pack: Add option to include compressed data in UnpackedObjects.
|
14 anos atrás |
Dave Borowitz
|
76989d693c
pack: Create an UnpackedObject for better encapsulation.
|
14 anos atrás |
Dave Borowitz
|
6e690a2548
pack: Nuke ThinPackData.
|
14 anos atrás |
Dave Borowitz
|
792ca5768c
pack: Add PackInflater to quickly inflate pack objects.
|
14 anos atrás |
Dave Borowitz
|
880f0f0db5
pack: Fix a buffering issue with PackStreamReader; add tests.
|
14 anos atrás |
Dave Borowitz
|
d7496d7fe3
pack: Extract a function to compute the SHA of a file.
|
14 anos atrás |
Dave Borowitz
|
ad5748d951
pack: Extract a method to check pack length and SHA.
|
14 anos atrás |
Dave Borowitz
|
994911cf26
test_pack: Test checksum and length mismatch conditions.
|
14 anos atrás |
Dave Borowitz
|
e853c2907e
tests/utils: Pass a file object into build_pack.
|
14 anos atrás |
Dave Borowitz
|
2b24742c8c
tests: Move write_pack_data to utils.build_pack.
|
14 anos atrás |
Dave Borowitz
|
4e51f1a0fa
pack: Allow write_pack_object to compute a SHA.
|
14 anos atrás |
Dave Borowitz
|
288a078251
pack: Expose which refs were external in DeltaChainIterator.
|
14 anos atrás |
Jelmer Vernooij
|
77c90fc333
Fix docstring syntax to be compatible with pydoctor.
|
14 anos atrás |
Dave Borowitz
|
912a0f1e47
pack: Add a DeltaChainIterator for faster iteration of PackData.
|
14 anos atrás |
Dave Borowitz
|
8e5ede2375
pack: Compute CRC32 during object unpacking.
|
14 anos atrás |
Jelmer Vernooij
|
63d8732b59
Add some tests for deltification.
|
14 anos atrás |
Jelmer Vernooij
|
96d889f994
Add Pack.pack_tuples().
|
14 anos atrás |