]> Sergey Matveev's repositories - public-inbox.git/commit
init: allow --skip of old epochs for -V2 repos
authorEric Wong <e@80x24.org>
Fri, 28 Dec 2018 10:16:11 +0000 (10:16 +0000)
committerEric Wong <e@80x24.org>
Fri, 28 Dec 2018 19:17:47 +0000 (19:17 +0000)
commit0e933ed9b8a751d70623f72fbee98ad77af7578c
tree65bd5a2c4ef8cec4908c645529c5417c5f0a3ec9
parentc5d3dc3122323bda426de9251fcbdb2561570c42
init: allow --skip of old epochs for -V2 repos

This allows archivists to publish incomplete archives with newer
mail while allowing "0.git" (or "1.git" and so on) epochs to be
added-after-the-fact (without affecting "git clone" followers).

A reindex will be necessary for Xapian and SQLite to catch up
once the old epochs are added; but the reindexing code is also
capable of tolerating missing epochs.
lib/PublicInbox/V2Writable.pm
script/public-inbox-init
t/init.t