docs: raw accept points an occupied captured-bundle name at --replaces-bundle (#177)
The ON FAILURE reaction for an occupied folder name still said there is no --replaces for a folder; for a captured bundle that sent a new edition down the rename route. raw/CONTRACT.md names the manifest as a captured folder's source of the capture fields. Files changed: - CHANGES.md - VERSION - raw/CONTRACT.md - tools/CONTRACT.md - tools/chemenu/commands/raw_cmd.py Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
This commit is contained in:
1 parent
311c8ee059
commit
8ce202a34e
5 files changed
+20
-6
No files matched your search
@@ -1056,8 +1056,10 @@ def _replace_bundle(
|
||||
"`--page` or `--replaces`, holds no file, or holds a hidden entry, a symlink or a "
|
||||
"special file; a target path is over the budget; or the folder name is already "
|
||||
"occupied under `raw/`",
|
||||
reaction="Nothing moved. Fix what the message names and retry once; for an occupied "
|
||||
"name, rename the folder in `incoming/` - there is no `--replaces` for a folder",
|
||||
reaction="Nothing moved. Fix what the message names and retry once. For an occupied "
|
||||
"name held by a captured bundle, the folder is its new edition: `raw accept "
|
||||
"incoming/<bundle> --replaces-bundle <raw-bundle>`. Any other occupied name: rename "
|
||||
"the folder in `incoming/` - such a folder has no replacement form",
|
||||
),
|
||||
cli_contract.Failure(
|
||||
label="raw accept",
|
||||
|
||||
Reference in new issue
Block a user