@@ -40,6 +40,10 @@
first. Fixes hang when used against GitHub
server implementation. (Siddharth Agarwal)
+ * DeltaChainIterator: fix a corner case where an object is inflated as an
+ object already in the repository.
+ (Damien Tournoud, #135)
+
API CHANGES
* Drop support for Python 2.6. (Jelmer Vernooij)
@@ -963,7 +963,7 @@ class DeltaChainIteratorTests(TestCase):
blob2, = self.store_blobs(['blob2'])
assert blob.id < blob2.id
- f = StringIO()
+ f = BytesIO()
entries = build_pack(f, [
(REF_DELTA, (blob.id, 'blob2')),
(REF_DELTA, (0, 'blob3')),