Cannot fetch from remote into MemoryRepo
Bug #1035743 reported by
Conan
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.
Changed in dulwich: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
As mentioned on IRC, this is mostly because supporting packs requires some more work that simply hasn't done yet.