Commit 858e4b19 authored by Vincent Pelletier's avatar Vincent Pelletier

Stop looking for revision when past it.

parent 70a03207
......@@ -468,7 +468,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