about summary refs log tree commit homepage
path: root/script/public-inbox-convert
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-04 21:24:59 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-04 21:54:44 +0000
commit678fb3c2ba03a4a284620c039717c0d94dd6106a (patch)
tree29b213f82977aa3ccf83d0fc80d8b126b583fb45 /script/public-inbox-convert
parentb4d127cb83230fe5cee0dcecb573107ad96a7c4c (diff)
downloadpublic-inbox-678fb3c2ba03a4a284620c039717c0d94dd6106a.tar.gz
This is important for people running mirrors via "git fetch",
as they need to be kept up-to-date.  Purging is also now
supported in mirrors.

The short-lived "--regenerate" option is gone and is now
implicitly enabled as a result.  It's still cheap when
article number regeneration is unnecessary, as we track
the range for each git repository.
Diffstat (limited to 'script/public-inbox-convert')
-rwxr-xr-xscript/public-inbox-convert2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-convert b/script/public-inbox-convert
index 56ac44f5..9aa27814 100755
--- a/script/public-inbox-convert
+++ b/script/public-inbox-convert
@@ -125,6 +125,6 @@ my $mm = $old->mm;
 $mm->{dbh}->sqlite_backup_to_file("$new_dir/msgmap.sqlite3") if $mm;
 $v2w->done;
 if ($index) {
-        $v2w->reindex;
+        $v2w->index_sync;
         $v2w->done;
 }