X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fimport_vger_from_mbox;h=ca5a408da2c1b9318d46645cb034ffba299f09ec;hb=aed636420b2fee7ff217bfae148cc9485b011d79;hp=191f75d67ebff99e8f1d88f05ea70a54e87a9828;hpb=fad9acd35e56a289ade90a62d056b2a6663d448c;p=public-inbox.git 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 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;