Commit 9ddfb58d authored by David Glick's avatar David Glick

Report full oid of missing object during pack

parent cb928231
......@@ -5,7 +5,8 @@
5.3.1 (unreleased)
==================
- Nothing changed yet.
- If an object is missing from the index while packing a ``FileStorage``,
report its full ``oid``.
5.3.0 (2017-08-30)
......
......@@ -270,7 +270,7 @@ class GC(FileStorageFormatter):
if oid == z64 and len(oid2curpos) == 0:
# special case, pack to before creation time
continue
raise
raise KeyError(oid)
reachable[oid] = pos
for oid in self.findrefs(pos):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment