fix: raw accept --replaces-bundle names the untracked A list beside git diff, in its success line and its record (#181)
CI / verify (push) Successful in 5m56s
CI / pwsh (push) Successful in 2m1s
Release / release (push) Successful in 34s

Files changed:
- CHANGES.md
- VERSION
- tools/CONTRACT.md
- tools/chemenu/commands/raw_cmd.py
This commit is contained in:
torben committed 2026-10-06 11:50:28 +02:00
1 parent a3fc8f6873
commit cb371545bf
4 files changed
+17 -5

No files matched your search

+4 -2
View File
@@ -958,7 +958,8 @@ def _replace_bundle(
for line in next_lines:
typer.echo(line)
success("Review the pages above in this same run: the replacement and their update belong in one "
"commit. `git diff` on the bundle shows the edition's changes.")
"commit. `git diff` on the bundle shows the `M` and `D` files; the `A` files are only in "
"the list above - they are still untracked.")
@cli_contract.record(cli_contract.CommandRecord(
@@ -1051,7 +1052,8 @@ def _replace_bundle(
"page's `fidelity`/`authority` is overwritten where the new manifest differs.",
"`--replaces-bundle` prints each changed file as `A`/`M`/`D`, grouped by owning source page "
"with its citing pages, and the `touch --page ... --add/--remove raw_files=` lines that "
"follow; `git diff` on the bundle shows the edition's changes.",
"follow; `git diff` on the bundle shows the `M` and `D` files, the `A` files appear only in "
"that list because they are still untracked.",
"`--replaces` and `--page` refuse a target inside a captured bundle; the refusal names "
"`raw capture --update` and `--replaces-bundle`. A file named `_capture.json` anywhere but "
"at a captured folder's top is refused - the name is reserved.",