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

Check-in [c941f6177b]

Overview
Comment:fix(horizon): break mtime ties on the lowest full hash

Two check-ins tied on mtime resolve to the lexicographically lowest full hash, never the lower local rid, so two origins, and a clone resolving locally, resolve a name alike (§6.2.7 clarification C.2). HZ-6.2-17 and the horizons page say so.

Timelines: family | ancestors | descendants | both | main | trunk
Files: files | file ages | folders
SHA3-256: c941f6177b3caec031586e08545a3a1767d711d4fdff9b10225d7cb5ea2518de
User & Date: [email protected] on 2026-10-24 00:04:21.000
Other Links: branch diff | manifest | tags
Context
2026-10-24
00:37
fix(horizon): walk back in one bounded query

ResolveName stepped back one query per check-in, up to 2^32-1 times. A recursive query now walks the primary parents at most depth steps and never more than the check-ins the repository holds, so even a corrupt cycle of primary parents ends. check-in: 6f12912a01 user: [email protected] tags: main, trunk

00:04
fix(horizon): break mtime ties on the lowest full hash

Two check-ins tied on mtime resolve to the lexicographically lowest full hash, never the lower local rid, so two origins, and a clone resolving locally, resolve a name alike (§6.2.7 clarification C.2). HZ-6.2-17 and the horizons page say so. check-in: c941f6177b user: [email protected] tags: main, trunk

00:02
feat: clone a horizon by name and depth

CloneOpts.HorizonName and HorizonDepth, and repo clone --horizon NAME --depth N, ask the origin for the horizon by name; CloneResult reports the resolved check-in, the steps taken and whether the clone resolved it locally. A full hash with no depth is still sent as the hash itself. Docs and the generated CLI reference and conformance data follow. check-in: 94bff91c0d user: [email protected] tags: main, trunk

Changes