Álvaro Tejero Cantero 7f07f13940
🐛 Merge the tokens source of a branch
The merge engine never compared the file's tokens source, so a branch
that switched its tokens to a library, or back to its own, lost that
change on merge, and main's change was lost on an update from main.

The source is now a mergeable kind, :tokens-source, compared raw (nil
means the file itself, and a value naming the file reads as nil). A
change on one side applies as a :set-tokens-source change, and a
change on both sides is a conflict resolved like the base font size.

remap-refs now also rewrites the document's own :id and its
:tokens-source through the id map, and remap-changes rewrites the
:library-id of a :set-tokens-source change, so a branch document moved
into main's id space names main as itself. The compare panel labels
the new kind.

AI-assisted-by: claude-opus-5-5
2026-10-28 12:31:05 +01:00
..
2026-09-22 10:22:31 +02:00
2026-10-28 12:31:05 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00