Cannot fetch from remote into MemoryRepo

Bug #1035743 reported by Conan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dulwich
Fix Released
Low
Unassigned

Bug Description

Using code something like:

client = GitClient(...)
local = MemoryRepo()
remote_refs = client.fetch(path, local)

I cannot fetch from a remote repo into a local in-memory repository.

I instead recieve the following exception:
AttributeError: 'MemoryObjectStore' object has no attribute 'add_pack'

Looking at the code for MemoryObjectStore it seems to be missing all of the pack storage functionality.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

As mentioned on IRC, this is mostly because supporting packs requires some more work that simply hasn't done yet.

Changed in dulwich:
status: New → Triaged
importance: Undecided → Low
Jelmer Vernooij (jelmer)
Changed in dulwich:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.