Artifact 5ce8b2f818316399650d84833ff14b166030534745c20004f8dcf4ebc77daa48:
- File
internal/checkout/extract.go
-
2026-10-19 22:58:21
— part of check-in
[858c20561f]
on branch feat/submanifest-reader
— fix(undo): save and restore symlinks as fossil's undo does
Move checkout's link-aware diskView into vfile.Disk, so checkout, undo and stash share one RepoFILE view: Stat, Read, Write (which deletes a link before writing, makes a symlink when allow-symlinks is on, creates the directory and sets the executable bit as file_setexe does), SetExe, MTime and Remove. The allow-symlinks setting is read by vfile.OpenDisk.
undo.Save, Undo, Redo, Swap, ReadFile and RestoreFiles now take a Disk: a symlink is read as its target's name and recorded with isLink, and is deleted and made a symlink again on restore, as undo_save and undo_one do, so Undo of an Update no longer writes through a link. (user: [email protected], size: 13287) [annotate] [blame] [check-ins using]
- 2026-10-20 02:37:52 — part of check-in [79679cc3fa] on branch feat/submanifest-reader — Merge branch 'fix/symlink-write-paths' into feat/submanifest-reader (user: [email protected], size: 13287) [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: 13287) [annotate] [blame] [check-ins using]
-
2026-10-19 22:58:21
— part of check-in
[858c20561f]
on branch feat/submanifest-reader
— fix(undo): save and restore symlinks as fossil's undo does