Artifact a53d6c02ce937037ce92d751db4987c1c7667aa07355f214d4a3398a7276dc31:
- File
internal/stash/fossilbin_test.go
-
2026-10-19 01:53:57
— part of check-in
[41951ffbc5]
on branch feat/submanifest-reader
— fix(stash,undo): write working files through the checkout's storage
Stash and undo read, wrote and removed working files with the os package, so a MemStorage checkout and simulation tests never saw those writes, and no write recorded its mtime. They now take a *simio.Env and go through its Storage, recording each written file's mtime via vfile.WrittenMTime (moved with RecordableMTime from internal/checkout so these packages can share the same-second guard).
Stash save marks reverted rows unchanged with their written mtime, as fossil's revert does. Apply and pop add a stashed added file again, as fossil's stash_apply does, and give a restored edit's row its changed state and written mtime. Undo and redo record a written file's mtime only when the restored row's mtime matched the file when it was saved.
Tracked in #448 (user: [email protected], size: 3792) [annotate] [blame] [check-ins using]
-
2026-10-19 12:47:01
— part of check-in
[189088f46c]
on branch feat/submanifest-reader
— Merge branch 'fix/stash-undo-storage' into feat/submanifest-reader
# Conflicts: # CHANGELOG.md # internal/checkout/vfile.go (user: [email protected], size: 3792) [annotate] [blame] [check-ins using]
-
2026-10-19 14:41:42
— part of check-in
[47f89f0798]
on branch feat/submanifest-reader
— Merge branch 'feat/submanifest-reader' into feat/cones
Update's rewrite meets the sparse worktree: a file outside the cone is a record-only step, counted in OutOfCone, and never planned, scanned, checked, written, backed up as NAME-original or chmodded; reloading vfile moves its record to the target. SetCone records the mtime of each file it materializes, as Extract now does. (user: [email protected], size: 3792) [annotate] [blame] [check-ins using]
-
2026-10-19 01:53:57
— part of check-in
[41951ffbc5]
on branch feat/submanifest-reader
— fix(stash,undo): write working files through the checkout's storage