]> Sergey Matveev's repositories - public-inbox.git/commit
v2: fill alternates with old epochs on init from mirrors
authorEric Wong <e@80x24.org>
Wed, 4 Jul 2018 10:50:25 +0000 (10:50 +0000)
committerEric Wong <e@80x24.org>
Wed, 4 Jul 2018 19:53:30 +0000 (19:53 +0000)
commit9c9170688649c975d866b5326b12623dc8f4604b
tree9d793a50bbf642354ab7ea6b349ff3c39944eb8e
parent4cf7804c2b263e4a92447315f534f76416d4ffad
v2: fill alternates with old epochs on init from mirrors

For v2 repositories with multiple epochs, we must not forget
about earlier epochs in clones.  Ensure we update the alternates
file with all known epochs up to the current one.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
  https://public-inbox.org/meta/871scj2vzi.fsf@xmission.com/
lib/PublicInbox/V2Writable.pm
t/v2mirror.t