mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 01:01:37 +03:00
story: misc changes
This commit is contained in:
parent
d8450c2892
commit
484772e2b7
@ -10,7 +10,7 @@
|
|||||||
:: Remove a commit message to a given case on a given desk
|
:: Remove a commit message to a given case on a given desk
|
||||||
::
|
::
|
||||||
=/ our p.bec
|
=/ our p.bec
|
||||||
:: XX should `base` here be syd or q.bec
|
:: XX should `base` here be syd or q.bec
|
||||||
=/ tak .^(tako:clay %cs /(scot %p our)/base/(scot %ud aeon)/tako/~)
|
=/ tak .^(tako:clay %cs /(scot %p our)/base/(scot %ud aeon)/tako/~)
|
||||||
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
||||||
=. tale (~(del ju tale) tak)
|
=. tale (~(del ju tale) tak)
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
::
|
::
|
||||||
=/ our p.bec
|
=/ our p.bec
|
||||||
=? cas =(*case cas) [%da now] :: set current commit when cas not provided
|
=? cas =(*case cas) [%da now] :: set current commit when cas not provided
|
||||||
=/ tak .^(tako:clay %cs /(scot %p our)/[syd]/(scot cas)/tako/~)
|
=/ tak .^(tako:clay %cs /(scot %p our)/[syd]/(scot cas)/tako/~)
|
||||||
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
||||||
=. tale (~(put ju tale) tak prose)
|
=. tale (~(put ju tale) tak prose)
|
||||||
:- %helm-pass
|
:- %helm-pass
|
||||||
[%c [%info syd %& [/story %ins story+!>(tale)]~]]
|
[%c [%info syd %& [/story %ins story+!>(tale)]~]]
|
@ -151,6 +151,8 @@
|
|||||||
(just '\0a') :: parse trailing newline
|
(just '\0a') :: parse trailing newline
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
|
:: XX TODO: implement parsing in conflicts
|
||||||
|
=/ proses-parse ~
|
||||||
=/ title-parser
|
=/ title-parser
|
||||||
;~ sfix :: throw away trailing newlines
|
;~ sfix :: throw away trailing newlines
|
||||||
(cook crip (star prn)) :: parse any number of ascii characters, turn into cord
|
(cook crip (star prn)) :: parse any number of ascii characters, turn into cord
|
||||||
|
Loading…
Reference in New Issue
Block a user