Skip to content
go-libfossil Check-in [2ee5684bf3]
Login

Check-in [2ee5684bf3]

Overview
Comment:fix(stash): do not merge a changed symlink, as fossil's stash apply does

Where a symlink was stashed or is now on disk, Apply writes the stashed file only when both are links and the link still holds the baseline. Otherwise it leaves the file and its row alone and reports it, as fossil's stash_apply prints "Cannot merge symlink" and counts a conflict. Apply and Pop now return the files they did not merge; Pop still drops the entry, as fossil's does.

Timelines: family | ancestors | descendants | both | main | trunk | feat/submanifest-reader
Files: files | file ages | folders
SHA3-256: 2ee5684bf3d36de70739a1bd081d51bdec9e6227b7c006c137914e18ca7933f9
User & Date: [email protected] on 2026-10-20 01:42:32.000
Other Links: branch diff | manifest | tags
Context
2026-10-20
01:42
test(stash): fossil and go both refuse to merge a repointed symlink check-in: aec658f5a9 user: [email protected] tags: feat/submanifest-reader, main, trunk
01:42
fix(stash): do not merge a changed symlink, as fossil's stash apply does

Where a symlink was stashed or is now on disk, Apply writes the stashed file only when both are links and the link still holds the baseline. Otherwise it leaves the file and its row alone and reports it, as fossil's stash_apply prints "Cannot merge symlink" and counts a conflict. Apply and Pop now return the files they did not merge; Pop still drops the entry, as fossil's does. check-in: 2ee5684bf3 user: [email protected] tags: feat/submanifest-reader, main, trunk

01:40
test(stash): pop over a changed symlink does not merge it (red) check-in: d19a7ecca7 user: [email protected] tags: feat/submanifest-reader, main, trunk
Changes