mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
When looking for changes at revision zero, look for file creation.
This fixes the symptom described in #681, but not the problem.
This commit is contained in:
parent
f0fedf4315
commit
9f94497e87
@ -1886,6 +1886,12 @@
|
||||
$(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])
|
||||
|
Loading…
Reference in New Issue
Block a user