story: misc changes

This commit is contained in:
Yaseen 2022-01-26 11:41:22 -05:00
parent d8450c2892
commit 484772e2b7
3 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@
:: Remove a commit message to a given case on a given desk
::
=/ 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/~)
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
=. tale (~(del ju tale) tak)

View File

@ -11,8 +11,8 @@
::
=/ our p.bec
=? 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 (~(put ju tale) tak prose)
=. tale (~(put ju tale) tak prose)
:- %helm-pass
[%c [%info syd %& [/story %ins story+!>(tale)]~]]

View File

@ -151,6 +151,8 @@
(just '\0a') :: parse trailing newline
==
::
:: XX TODO: implement parsing in conflicts
=/ proses-parse ~
=/ title-parser
;~ sfix :: throw away trailing newlines
(cook crip (star prn)) :: parse any number of ascii characters, turn into cord