diff --git a/crates/ledger-cli/tests/format_upgrade.rs b/crates/ledger-cli/tests/format_upgrade.rs index b086916d..0656750e 100644 --- a/crates/ledger-cli/tests/format_upgrade.rs +++ b/crates/ledger-cli/tests/format_upgrade.rs @@ -548,7 +548,7 @@ fn format_upgrade_waits_for_consent() { ); assert!(!shown.contains(wrong), "the passphrase was shown: {shown}"); assert!( - !dir.join("archive.git").exists(), + !dir.join(ledger_store::backup::LOCAL_DIR).exists(), "no backup before consent" ); assert_eq!(format_lines(&dir), 0); diff --git a/crates/ledger-core/src/settings.rs b/crates/ledger-core/src/settings.rs index b7cb089e..d80fbbd9 100644 --- a/crates/ledger-core/src/settings.rs +++ b/crates/ledger-core/src/settings.rs @@ -425,14 +425,14 @@ pub static KEYS: &[Key] = &[ toml: ("backup", "git_remote"), kind: Kind::Repository, sensitivity: Sensitivity::Public, - doc: "A private repository the books back themselves up to (plan D-30): its address as its host shows it for cloning, over ssh or https (such as https://host/owner/books), or a path on this computer. Unset: none.", + doc: "No longer used (D-91). Older books name a private repository here for the kind of backup that is no longer made: they open and work as ever, nothing is read from or sent to it, and the backup status says so. Choose backup.folder instead. Unset: none.", }, Key { name: "backup.folder", toml: ("backup", "folder"), kind: Kind::Folder, sensitivity: Sensitivity::Public, - doc: "A folder the books back themselves up to as well (D-30): an absolute path, an external disk or a synced folder; the backup is a repository in it named for the book. Unset: none.", + doc: "The folder the books back themselves up to (D-91): an absolute path, another disk or a folder a sync service keeps (Dropbox, iCloud, OneDrive, Google Drive); the backup is a folder in it named for the books, made of files that are only ever added. Unset: none.", }, // P4b S4.2: invoicing, bills and the company's contact details. Key { diff --git a/docs/testing.md b/docs/testing.md index 2a2b5496..42557cda 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -4889,7 +4889,7 @@ count. - [P3 format upgrade] `format.rs` (`current`, `upgrade_to`, `adds`, `require_format`, `require_feature`), `store.rs` (`create_in_format`, `ensure_format`, `ensure_feature`, `upgrade_format`), `root.rs` (adoption's - upgrade and its verify), `backup.rs` (`prove_archive`, `held_files`). + upgrade and its verify), `backup/read.rs` (`prove_local`). - [P3 asset basis] `asset_basis_from_journal` (newer vs corrupt); the projection loader's two key sets. - [P3 projects] `project_set_of` (newer vs corrupt); `Store::add_project`'s