Stopped-switch finish: clearer error wording and read-only standing files on Windows #198

Closed
opened 2026-10-26 21:34:56 -05:00 by ethan-hann · 1 comment
Owner

Two small gaps in finishing a stopped switch: (1) NotUpdatedMessage says "Checkout could not update" from steps where no checkout ran (RemoveStanding, RemoveDisplaced); say which step and file instead, in D44 words where it reaches the player. (2) On Windows a read-only file at a standing path makes TryDelete fail, where git's own path checkout would have replaced it; clear the read-only attribute first, as the other engine deletes do if they do.

Two small gaps in finishing a stopped switch: (1) NotUpdatedMessage says "Checkout could not update" from steps where no checkout ran (RemoveStanding, RemoveDisplaced); say which step and file instead, in D44 words where it reaches the player. (2) On Windows a read-only file at a standing path makes TryDelete fail, where git's own path checkout would have replaced it; clear the read-only attribute first, as the other engine deletes do if they do.
ethan-hann added this to the Later milestone 2026-10-26 21:34:56 -05:00
Author
Owner

Shipped in 0.9.17 (PR 227).

Shipped in [0.9.17](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.17) (PR 227).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#198
No description provided.