Fix reindex broken by removing entries from multimap
Change I01f94ec8dea2cad352cc4766eb932d380f7bb065 broke the reindexer somehow by removing entries from the list in the mutlimap. Make a copy of the list before removing entries from it. Change-Id: I7add5639f06c7607b00f99f2873f70d53c7df33b
This commit is contained in:
@@ -378,7 +378,7 @@ public class Reindex extends SiteProgram {
|
||||
|
||||
private void getPathsAndIndex(RevCommit bCommit) throws Exception {
|
||||
RevTree bTree = bCommit.getTree();
|
||||
List<ChangeData> cds = byId.get(bCommit);
|
||||
List<ChangeData> cds = Lists.newArrayList(byId.get(bCommit));
|
||||
try {
|
||||
RevTree aTree = aFor(bCommit, walk);
|
||||
if (aTree == null) {
|
||||
|
Reference in New Issue
Block a user