Remove special logic for the "next aeon to check is 0" case.

It shouldn't be able to occur anymore, so we're fine with being loud if it does.
This commit is contained in:
Fang 2018-04-30 22:31:14 +02:00
parent 0c1ed91dc6
commit 7e39bd8a8b

View File

@ -1887,12 +1887,6 @@
$(rov [-.rov mol `+(u.aey) ~ ~])
:: if old isn't complete, try filling in the gaps.
=? old !(complete old)
:: if we're looking for changes in revision zero, then the previous
:: revision only has "file does not exist" results.
?: =(u.yon 0)
%- ~(gas by *(map (pair care path) cach))
%+ turn ~(tap in q.mol)
|=(r=(pair care path) [r [~ ~]])
(read-unknown mol(p [%ud (dec u.yon)]) old)
:: if the next aeon we want to compare is in the future, wait again.
=+ aey=(case-to-aeon:ze [%ud u.yon])