Dulwich crashes on fast-import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dulwich |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Dulwich can't import a simple Git repo. It crashes with the following traceback:
Traceback (most recent call last):
File "./dulwich_bug.py", line 17, in <module>
fi.
File "/usr/local/
self.
File "/usr/lib/
self.
File "/usr/lib/
handler(self, cmd)
File "/usr/local/
self.
AttributeError: 'ResetCommand' object has no attribute 'id'
To reproduce:
1. git clone https:/
2. cd dulwich-bug && ./reproduce.sh
This runs git fast-export and pipes the output to a simple script calling Dulwich.
Fixed in trunk.