Fixes #256.
@@ -17,6 +17,9 @@
* Fix TypeError when fetching empty updates.
(Hwee Miin Koh)
+ * Resolve delta refs when pulling into a MemoryRepo.
+ (Max Shawabkeh, #256)
+
IMPROVEMENTS
* New public method `Repo.reset_index`. (Jelmer Vernooij)
@@ -745,7 +745,7 @@ class MemoryObjectStore(BaseObjectStore):
def commit():
p = PackData.from_file(BytesIO(f.getvalue()), f.tell())
f.close()
- for obj in PackInflater.for_pack_data(p):
+ for obj in PackInflater.for_pack_data(p, self.get_raw):
self._data[obj.id] = obj
def abort():
pass