mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
trouble: report source of OTA instead of parent
This commit is contained in:
parent
f4f1d0ab4b
commit
ba9e894580
@ -39,7 +39,14 @@
|
||||
[d this]
|
||||
::
|
||||
++ on-leave on-leave:def
|
||||
++ on-peek on-peek:def
|
||||
++ on-peek
|
||||
|= =path
|
||||
~& peeking=path
|
||||
^- (unit (unit cage))
|
||||
?+ path (on-peek:def path)
|
||||
[* %kiln *] (on-peek:kiln-core path)
|
||||
==
|
||||
::
|
||||
++ on-save !>(state)
|
||||
++ on-load
|
||||
|= =old-state=vase
|
||||
|
@ -43,7 +43,12 @@
|
||||
==
|
||||
::
|
||||
++ base-hash
|
||||
=/ parent (scot %p (sein:title our now our))
|
||||
=+ .^(=cass:clay %cs /[parent]/kids/1/late/foo)
|
||||
.^(@uv %cz /[parent]/kids/(scot %ud ud.cass))
|
||||
=+ .^ ota=(unit [=ship =desk =aeon:clay])
|
||||
%gx /(scot %p our)/hood/(scot %da now)/kiln/ota/noun
|
||||
==
|
||||
?~ ota
|
||||
*@uv
|
||||
=/ parent (scot %p ship.u.ota)
|
||||
=+ .^(=cass:clay %cs /[parent]/[desk.u.ota]/1/late/foo)
|
||||
.^(@uv %cz /[parent]/[desk.u.ota]/(scot %ud ud.cass))
|
||||
--
|
||||
|
@ -104,6 +104,13 @@
|
||||
=. +<+.$.abet old
|
||||
..abet
|
||||
::
|
||||
++ on-peek
|
||||
|= =path
|
||||
^- (unit (unit cage))
|
||||
?. ?=([%x %kiln %ota ~] path)
|
||||
[~ ~]
|
||||
``noun+!>(ota)
|
||||
::
|
||||
++ poke-commit
|
||||
|= [mon/kiln-commit auto=?]
|
||||
=< abet
|
||||
|
Loading…
Reference in New Issue
Block a user