diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-06 21:44:39 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-06 21:45:04 +0000 |
commit | aed636420b2fee7ff217bfae148cc9485b011d79 (patch) | |
tree | f8871f9003e0d007176e58d08c553e162f2002c5 /scripts/import_vger_from_mbox | |
parent | fad9acd35e56a289ade90a62d056b2a6663d448c (diff) | |
download | public-inbox-aed636420b2fee7ff217bfae148cc9485b011d79.tar.gz |
Xapian is size-intensive and SQLite is not strictly necessary for v1.
Diffstat (limited to 'scripts/import_vger_from_mbox')
-rw-r--r-- | scripts/import_vger_from_mbox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/import_vger_from_mbox b/scripts/import_vger_from_mbox index 191f75d6..ca5a408d 100644 --- a/scripts/import_vger_from_mbox +++ b/scripts/import_vger_from_mbox @@ -6,7 +6,6 @@ use warnings; use Getopt::Long qw/:config gnu_getopt no_ignore_case auto_abbrev/; use PublicInbox::MIME; use PublicInbox::InboxWritable; -use PublicInbox::V2Writable; use PublicInbox::Import; use PublicInbox::MDA; my $usage = "usage: $0 NAME EMAIL DIR <MBOX\n"; @@ -35,6 +34,7 @@ my $ibx = { $ibx = PublicInbox::Inbox->new($ibx); unless ($dry_run) { if ($version >= 2) { + require PublicInbox::V2Writable; PublicInbox::V2Writable->new($ibx, 1)->init_inbox(0); } else { system(qw(git init --bare -q), $mainrepo) == 0 or die; |