Commit Graph

19 Commits

Author SHA1 Message Date
Arya Irani
0cd3cd1cff Merge branch 'trunk' into cp/project-root
# Conflicts:
#	unison-cli-integration/integration-tests/IntegrationTests/transcript.output.md
#	unison-src/transcripts-round-trip/main.output.md
#	unison-src/transcripts/add-run.output.md
#	unison-src/transcripts/bug-strange-closure.output.md
#	unison-src/transcripts/cycle-update-5.output.md
#	unison-src/transcripts/delete.output.md
#	unison-src/transcripts/diff-namespace.output.md
#	unison-src/transcripts/move-namespace.output.md
#	unison-src/transcripts/name-selection.output.md
#	unison-src/transcripts/names.output.md
#	unison-src/transcripts/namespace-dependencies.output.md
#	unison-src/transcripts/propagate.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/reset.output.md
#	unison-src/transcripts/tab-completion.output.md
#	unison-src/transcripts/transcript-parser-commands.output.md
2024-07-10 23:49:04 -04:00
Greg Pfeil
0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00
Greg Pfeil
1dc181b99a
Update the transcripts with cmark
`cmark`’s pretty-printer matches our output pretty well, with a few differences:
- it puts a space between the fence and the info string for in code blocks;
- it prefers `-` over `*` for bulleted lists (as do I) and it indents them;
- it `\`-escapes certain chars very conservatively;
- it prefers indented/unfenced code blocks if there is no info string; and
- it prefers `*` over `_` (unlike any sane person).

This also shows how the change fixes a number of issues:
- fix2158-1.output.md also illustrates how this change fixes #1809;
- alias-many.output.md and input-parse-errors.output.md show how fenced
  code blocks without an info string would use the beginning of the
  content as the info string;
- transcripts-round-trip/main.output.md shows how output blocks for
  generated `unison` stanzas (which could contain nested fenced blocks)
  might not have long-enough fences; and
- error-messages.output.md and generic-parse-errors.output.md show how
  Unison errors were reported on the wrong line number (and thus the
  printed error lines were also incorrect).
2024-07-10 13:37:51 -06:00
Chris Penner
5c675df566 Revive ability to delete root namespace 2024-07-02 10:53:28 -07:00
Chris Penner
fce12cb8b7 Work on fixing some transcripts for projects 2024-07-01 14:30:21 -07:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Arya Irani
2cf96a36ae
deprecate cd, up; add find-in (#4883)
* deprecate `cd`, `up`, hide `reset-root`, add `find-in`, hides unimplemented `update.builtins`
Co-authored-by: Chris Penner <christopher.penner@gmail.com>
2024-04-28 21:30:02 -04:00
Chris Penner
77be110ee7 Also wipe out history on root deletes 2023-01-30 11:14:16 -06:00
Paul Chiusano
5ed0e34656 refresh transcripts 2022-06-06 13:59:53 -04:00
Cody Allen
b97a72550b
Fix delete.namespace.force msg spacing (#2681) 2022-02-26 01:03:59 -05:00
Arya Irani
19daa28398 Merge branch 'trunk' into topic/merge-trunk-2022-02-07 2022-02-07 19:29:57 -07:00
Arya Irani
52b2c81783 never assume builtins are known to the db
fixes 107 failing transcripts
2021-12-06 11:55:21 -10:00
Chris Penner
1e20833288 Update transcript 2021-11-19 10:54:37 -06:00
Chris Penner
d291900c3f typo 2021-11-18 18:37:12 -06:00
Chris Penner
cea547ef44 Number dependency outputs 2021-11-18 18:02:54 -06:00
Chris Penner
19fbc12be9 Improved output for deletions 2021-11-18 17:32:07 -06:00
Chris Penner
9af105f191 WIP checkpoint 2021-11-18 15:20:58 -06:00
Chris Penner
d6c7616b31 Update transcripts 2021-11-18 11:43:29 -06:00
Chris Penner
eb1c88bdd0 Add transcripts for namespace.delete 2021-11-18 10:40:19 -06:00