Jelmer Vernooij
|
ac38553570
Use absolute imports everywhere.
|
15 vuotta sitten |
Tay Ray Chuan
|
ac7710701a
pack.FilePackIndex: close mmap object
|
15 vuotta sitten |
Tay Ray Chuan
|
8246b1e415
pack.FilePackIndex: use self._file instead of file parameter
|
15 vuotta sitten |
Tay Ray Chuan
|
b3015e3603
pack.PackIndex: de-duplicate __iter__ implementation
|
15 vuotta sitten |
Jelmer Vernooij
|
6d8a28cb67
Rename dulwich.misc => dulwich._compat.
|
15 vuotta sitten |
Jelmer Vernooij
|
d738b6be0c
New dulwich.pack.MemoryPackIndex class.
|
15 vuotta sitten |
Jelmer Vernooij
|
c51bdaa460
PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
|
15 vuotta sitten |
Dave Borowitz
|
b70c45b81b
pack: Add ThinPackData.from_file.
|
15 vuotta sitten |
Dave Borowitz
|
db4ea27094
pack: Factor out write_pack_header.
|
15 vuotta sitten |
Jelmer Vernooij
|
2548d296ea
Some restructuredText fixes.
|
15 vuotta sitten |
Jelmer Vernooij
|
835a79095a
dulwich.pack.write_pack_index_v{1,2} now take a file-like object
|
15 vuotta sitten |
Jelmer Vernooij
|
4f946e5cf3
Merge support for lazy loading packs.
|
15 vuotta sitten |
Jelmer Vernooij
|
00392137d9
Add Pack.from_lazy_objects().
|
15 vuotta sitten |
Dave Borowitz
|
1bdb4630c6
Clean up file headers.
|
15 vuotta sitten |
Jelmer Vernooij
|
73e06e1294
Remove PackData.__del__ as it causes reference loops; use PackData.close
|
15 vuotta sitten |
Dave Borowitz
|
e0c7bc82fd
Add SEEK_END to misc.py, since it was added in 2.5.
|
16 vuotta sitten |
Dave Borowitz
|
3863c1a9b2
Fix numerous style issues.
|
16 vuotta sitten |
Jelmer Vernooij
|
b1547558b1
Pass external object resolve function rather than full object store to ThinPackData constructor.
|
15 vuotta sitten |
Jelmer Vernooij
|
e863ad5838
Merge Dave, highlights:
|
15 vuotta sitten |
Jelmer Vernooij
|
03e77ef1b4
Merge use of constants for OFS/REF delta's.
|
15 vuotta sitten |
Dave Borowitz
|
98b5cceac1
Do simple pack checking during receive-pack.
|
16 vuotta sitten |
Dave Borowitz
|
25b3403e63
Clean up pack tests.
|
16 vuotta sitten |
Dave Borowitz
|
4d274559f8
Change check() methods in pack.py to raise rather than return bools.
|
16 vuotta sitten |
Dave Borowitz
|
6a4807f1c5
Hash packed objects without creating ShaFiles.
|
16 vuotta sitten |
Dave Borowitz
|
19f4d9f464
Simplify and fix thin pack resolving.
|
16 vuotta sitten |
Dave Borowitz
|
e3c9dbda29
Replace ref delta/ofs delta magic numbers with constants.
|
16 vuotta sitten |
Jelmer Vernooij
|
f92300655d
Add PackStreamReader.{offset,__len__}, extract PackObjectIterator.
|
16 vuotta sitten |
Jelmer Vernooij
|
afc4d87a17
Move PackStreamReader to dulwich.pack.
|
16 vuotta sitten |
Jelmer Vernooij
|
952aa5fb33
Split generic pack reading code out of PackStreamVerifier.
|
16 vuotta sitten |
Jelmer Vernooij
|
ba90dac75e
Attempt to close index files properly.
|
16 vuotta sitten |