Use fossil import --incremental when the destination exists, retaining existing history without force overwrite. Re-export selected Git namespaces so repositories created by previous script versions also update without requiring marks files.
Validation: real Fossil 2.28 imports a newly committed Git change, retains old commits and avoids duplicates on a third run. Mock failure and namespace regression checks and Bash syntax pass.
Thanks to xet7 !
Resolve the UI repository from the script or a supplied filename, keep temporary files under the repository, and report missing files or tools clearly. Add matching menu and command-line entries on Unix and Windows, documentation, and mocked UI path checks. Menu parity and a real Fossil 2.28 history import pass.
Thanks to xet7 !