Conflicts:
crates/engine/src/import/job.rs
Ported: crates/engine/src/import/job.rs by hand. It keeps the PR's browsed-replaced block and its 'a file's embedded XMP' comment. prepare_files's library sort and browsed promotion moved into sort_by_library/promote_browsed to stay under clippy's cognitive-complexity limit (unchanged behaviour). Also folds in main's gate fixes: rustfmt of import/job.rs (left unformatted by #1995) and the Windows-safe path joins in tests/folders.rs.
Conflicts:
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant.json
Re-merged main: only locale JSON files conflicted (3-way key merge, both sides' keys kept). Includes my 27eda067 CodeRabbit fixes (Lightroom guard on the review's OK; set_transfer bounds). Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.
Conflicts:
crates/engine/src/import/job.rs
Ported in this merge: in import/job.rs main added the read_duplicates option, so this PR's skip_sidecar keeps main's `&& !opts.read_duplicates` and both the embedded and external sidecar reads use it; the comment keeps this PR's wording (a file's embedded XMP, a skipped duplicate). Engine import tests pass locally.
Conflicts:
crates/engine/src/media/source.rs
docs/parity-checklist.md
Delta since approval (2630748a..91620b0f: doc cites, panic! in a test, render-cache bump) reviewed. Conflict: RENDER_CACHE_VERSION goes to 86 (main is at 85, 83 reserved by #3943), documented in main's version list.
Main added Reader::catalog_id after this branch gave Reader::table a
warnings argument; Adobe_variablesTable has no compressed settings, so it
passes a scratch list.
The test registered a photo whose file didn't exist and never checked the
relink. It now writes the file, checks `relinked`, the photo's catalog path
and the file after the rename, and both again after the one undo step
(CodeRabbit).
Conflicts:
crates/engine/src/import/job.rs
crates/engine/src/import/scan.rs
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant.json
crates/ui-egui/src/dialogs/import.rs
docs/whats-new.md
Conflicts: import/job.rs and scan.rs imports are the union of this PR's BrowsedFile/browsed_files_changed and main's expand_knowing/expand_report_knowing (main's PERF-SIDECARS listing reuse); names neither side uses any more dropped. ui-egui dialogs/import.rs: main's new test and this PR's tests both kept. Locales: key-level three-way merge; docs: both revision rows.
Conflicts:
crates/ui-egui/src/panels/compare.rs
crates/ui-egui/src/panels/detail.rs
Conflict: main changed embedded_lens to Option<String>, so this PR's reads now use .as_deref() instead of .as_ref() (compare.rs, detail.rs, tests/compare.rs); otherwise main's code. Docs: both revision rows kept.
Conflicts:
crates/engine/src/cmd/previews.rs
Conflict: the help string both sides edited is word-merged, keeping this PR's wording and main's addition. Docs: both revision rows kept, summary regenerated.
Conflicts:
crates/catalog/src/index.rs
crates/catalog/src/lib.rs
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant.json
docs/parity-checklist.md
Conflicts: crates/catalog/src/index.rs and lib.rs keep this PR's content index next to main's new folder/name indexes (both kept, each forgotten by its own ops). Locale files: key-level three-way merge, both sides' strings kept. docs/parity-checklist.md: row text word-merged, both revision rows kept, summary regenerated.
Conflicts:
crates/engine/src/lib.rs
crates/engine/src/lightroom_catalog.rs
docs/parity-checklist.md
Conflicts: main moved the engine's test modules under crates/engine/src/tests/ and lightroom_catalog's tests to lightroom_catalog/tests.rs. Ported this PR's tests the same way: tests_lightroom_history.rs is now tests/lightroom_history.rs (registered in tests.rs), and its three new lightroom_catalog tests are in lightroom_catalog/tests.rs, unchanged. docs/parity-checklist.md: main's header, both revision rows. Not built locally (box overloaded); hosted CI is the check.
Conflicts:
crates/ui-egui/src/panels/detail/retouch.rs
docs/parity-checklist.md
Conflicts: crates/ui-egui/src/panels/detail/retouch.rs (main added spot_brush and the brush.is_some() guard; kept it beside this PR's SpotBodies/spot_under and the primary-button release), docs/parity-checklist.md (both revision rows kept). Not built locally (box overloaded); hosted CI is the check.
Conflicts:
crates/engine/src/media/source.rs
Conflict in crates/engine/src/media/source.rs: main moved RENDER_CACHE_VERSION to 84 (83 reserved by open #3943); this PR's bump is now 85 with a note line in main's style.
- folder.rename/folder.move: a folder inside the library reached through a
link to the library (or another spelling of its path) moved on disk while
its photos, stored under the library's own path, kept pointing at the old
folder. It is now refused with the path to use, and a regression test
covers the linked parent (CodeRabbit).
- dialogs: the TextPrompt pattern added to the MovePhotos error arm could
never match, since the earlier TextPrompt arm from 17a9e97a (a refused
one-line prompt stays open with its text so the name can be fixed) wins.
Drop it so the code says what runs (CodeRabbit).