From fa7736f23e708f2edeaae33d9ce91135cbc095e3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Nov 2022 05:31:33 +0000 Subject: clone: support --inbox-version This is part of `lei add-external --mirror', and it makes sense to have for development and testing. We'll also add a fallback in case somebody tries --inbox-version and fails due to a newer remote instances of public-inbox. --- Documentation/lei-add-external.pod | 4 +++- Documentation/public-inbox-clone.pod | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/lei-add-external.pod b/Documentation/lei-add-external.pod index 7afcad63..2a131b55 100644 --- a/Documentation/lei-add-external.pod +++ b/Documentation/lei-add-external.pod @@ -75,7 +75,9 @@ Default: C =item --inbox-version=NUM -Force a public-inbox version (must be C<1> or C<2>). +Force a remote public-inbox version (must be C<1> or C<2>). +This is auto-detected by default, and this option exists mainly +for testing. =back diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index 52c89cfd..1c31fbb3 100644 --- a/Documentation/public-inbox-clone.pod +++ b/Documentation/public-inbox-clone.pod @@ -76,6 +76,12 @@ no v1 inboxes are present. Default: C +=item --inbox-version=NUM + +Force a remote public-inbox version (must be C<1> or C<2>). +This is auto-detected by default, and this option exists mainly +for testing. + =item -n =item --dry-run -- cgit v1.2.3-24-ge0c7