Commit ee552014 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Julien Muchembled

Stop looking for revision when past it.

parent b3403863
......@@ -430,7 +430,7 @@ class FileStorage(
if h.tid == serial:
break
pos = h.prev
if not pos:
if h.tid < serial or not pos:
raise POSKeyError(oid)
if h.plen:
return self._file.read(h.plen)
......
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