Skip to content
zit Check-in [8f5dff81b0]
Login

Check-in [8f5dff81b0]

Overview
Comment:sync: encode every server error card

The bad-command and malformed-card refusals were written with raw spaces, so on the wire they were four tokens. A stock fossil client reads an error card as two, reported the rest as unknown commands, dropped the refusal and printed its success summary; a refused push looked landed and re-sent the same artifacts on every autosync. Every error card is now assembled at one point with its text encoded, as fossil's own server writes it. A test drives each refusal through the emitter and fails on a raw space after the operator.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8f5dff81b06f2b4e102203cfb4bd562b3d68f96a27d73fc863771ac4aa98bafd
User & Date: dmestas on 2026-09-17 15:21:19.740
Other Links: manifest | tags
Context
2026-09-17
15:21
remote: refuse an argument that is not an http(s) URL

zit remote list saved the word list as the remote and reported success; the loss surfaced at the next push. The help already defines the argument as an http:// or https:// address, and the parser now holds it to that with a usage error that says there are no subcommands. A valid URL is still stored verbatim. check-in: c280025388 user: dmestas tags: trunk

15:21
sync: encode every server error card

The bad-command and malformed-card refusals were written with raw spaces, so on the wire they were four tokens. A stock fossil client reads an error card as two, reported the rest as unknown commands, dropped the refusal and printed its success summary; a refused push looked landed and re-sent the same artifacts on every autosync. Every error card is now assembled at one point with its text encoded, as fossil's own server writes it. A test drives each refusal through the emitter and fails on a raw space after the operator. check-in: 8f5dff81b0 user: dmestas tags: trunk

13:46
Release 0.3.19

log opens once, on the zero-parse image; the open mode is declared, never defaulted. check-in: 61ae22616f user: dmestas tags: trunk, version-0.3.19

Changes