Skip to content
go-libfossil Check-in [e9b2985d62]
Login

Check-in [e9b2985d62]

Overview
Comment:test(cli): cover log across a rename; order exit statuses in the docs

Tracked in #451

Timelines: family | ancestors | descendants | both | main | trunk | feat/cli-snapshot
Files: files | file ages | folders
SHA3-256: e9b2985d62d22a4519344dcd3e5a16d6a570e62bd0396b73d233c695dc72aac7
User & Date: [email protected] on 2026-10-19 20:36:48.000
Other Links: branch diff | manifest | tags
Context
2026-10-19
22:51
fix(db): convert Julian days to the millisecond SQLite gives

log --json printed most check-in times 1ms before their D card: db.julianToTime truncated where SQLite's date.c rounds with (sqlite3_int64)(r*86400000.0+0.5). fsltype.MillisFromJulianDay now does exactly that, JulianToTime and ScanTime use it, and ScanTime rounds the time.Time ncruces hands back to the millisecond as well. check-in: d17640749f user: [email protected] tags: feat/cli-snapshot, main, trunk

20:36
test(cli): cover log across a rename; order exit statuses in the docs

Tracked in #451 check-in: e9b2985d62 user: [email protected] tags: feat/cli-snapshot, main, trunk

20:17
feat(cli): checkout-free snapshot, per-path log, cat --at and diff --json

repo snapshot commits one file's bytes onto trunk with no checkout, a no-op when they equal the tip. repo log --path lists the check-ins that changed a path, repo cat --at reads a file as a version holds it, and repo diff --json A B [PATH] diffs two versions. Exit 2 means not found. A snapshot re-checks the check-in stamp inside its write transaction and retries, so concurrent processes build one linear trunk.

Tracked in #451 check-in: beed361c03 user: [email protected] tags: feat/cli-snapshot, main, trunk

Changes