Artifact b9343919d43829109b5d7f098d4122e88f951189b1498db79a17810b752134af:
- File
internal/checkout/revert_undo_js.go
-
2026-10-19 20:09:26
— part of check-in
[80764da743]
on branch feat/submanifest-reader
— fix(checkout): revert renames onto taken names, saving undo first
Checkout.Revert refused to undo a rename when another file held the old name: a swap, a chain, a new add or an untracked file there. Like fossil's revert it now saves each file it writes or deletes for undo, then reverts in one transaction, so Undo or fossil undo brings back what it overwrote, and a failed revert puts the files back.
Undoing a rename takes back the old name from whatever row holds it: a row renamed onto it is reverted to its own old name, and any other row is dropped, as fossil's UPDATE OR REPLACE drops it. Every committed file ends under its committed name; fossil's own revert leaves a swap renamed and stops tracking the second file of a chain.
Tracked in #248. (user: [email protected], size: 446) [annotate] [blame] [check-ins using]
-
2026-10-20 02:40:08
— part of check-in
[32155296d0]
on branch feat/submanifest-reader
— Merge branch 'fix/revert-swap-chain' into feat/submanifest-reader
# Conflicts: # internal/checkout/revert.go (user: [email protected], size: 446) [annotate] [blame] [check-ins using]
- 2026-10-20 02:45:47 — part of check-in [e4f56e44a9] on branch feat/submanifest-reader — Merge branch 'feat/submanifest-reader' into feat/sparse-store (user: [email protected], size: 446) [annotate] [blame] [check-ins using]
-
2026-10-21 21:20:46
— part of check-in
[7244496a09]
on branch main
— Merge pull request #437 from danmestas/feat/submanifest-reader
feat: sub-manifest trees and sparse cones (draft-fossil-submanifests-00, draft-fossil-sparse-cone-00) (user: [email protected], size: 446) [annotate] [blame] [check-ins using]
-
2026-10-19 20:09:26
— part of check-in
[80764da743]
on branch feat/submanifest-reader
— fix(checkout): revert renames onto taken names, saving undo first