Rollback.undo restores each rewritten file with a bare write_bytes and removes what --add made with rmdir and unlink, none under a handler, so an apply that fails after its first write and then cannot put one file back (a copy that became unwritable, a full disk, a lock) ends in an OSError traceback, exit 1, with the refusal that started the rollback lost and the paths after it never attempted, leaving a re-pinned manifest over a restored pin #428
Activity
brettheap commentedon Oct 14, 2026
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-14T16:48:56Z, for #428
Logged in
lanes/log/openRepoShape-4.mdat06a578fdaf29b78d05be37c9005117d20de15d55.The three reads (lane-collision-protocol Rule 1):
update-shape.py: the rollback never writes or removes through a symli…
update-shape.py: the rollback's by-hand line asks the nearest directo…
update-shape.py: a rollback line that writes a file back from the obj…