about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-21 00:21:32 +0000
committerEric Wong <e@yhbt.net>2020-06-23 00:22:16 +0000
commit3ba0028804c50b75b1854d0c2bf637ebce0aa8b1 (patch)
treef5ae9126285a1dd9bf3488b90d5602ca06b03ee8
parentb0372059b451c01fba1fdfe8a1879fbd5c7ca53d (diff)
downloadpublic-inbox-3ba0028804c50b75b1854d0c2bf637ebce0aa8b1.tar.gz
Since V2 uses multiple git repositories, stop using
the word "repo" when referring to inboxes.
-rwxr-xr-xscript/public-inbox-init6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/public-inbox-init b/script/public-inbox-init
index 00147db5..e8dcf4fc 100755
--- a/script/public-inbox-init
+++ b/script/public-inbox-init
@@ -121,20 +121,20 @@ if (-f "$inboxdir/inbox.lock") {
         if (!defined $version) {
                 $version = 2;
         } elsif ($version != 2) {
-                die "$inboxdir is a -V2 repo, -V$version specified\n"
+                die "$inboxdir is a -V2 inbox, -V$version specified\n"
         }
 } elsif (-d "$inboxdir/objects") {
         if (!defined $version) {
                 $version = 1;
         } elsif ($version != 1) {
-                die "$inboxdir is a -V1 repo, -V$version specified\n"
+                die "$inboxdir is a -V1 inbox, -V$version specified\n"
         }
 }
 
 $version = 1 unless defined $version;
 
 if ($version == 1 && defined $skip_epoch) {
-        die "--skip-epoch is only supported for -V2 repos\n";
+        die "--skip-epoch is only supported for -V2 inboxes\n";
 }
 
 my $ibx = PublicInbox::Inbox->new({