void (ChangelistBuilder builder, Set<HgChange> changes, Map<HgFile, HgResolveStatusEnum> resolveStatus, HgRevisionNumber workingRevision, HgRevisionNumber parentRevision) { for (HgChange change : changes) { HgFile afterFile = change.afterFile(); HgFile beforeFile = change.beforeFile(); HgFileStatusEnum status = change.getStatus(); if (resolveStatus.containsKey(afterFile) && resolveStatus.get(afterFile) == HgResolveStatusEnum.UNRESOLVED) { builder.processChange( new Change( HgContentRevision.create(myProject, beforeFile, parentRevision), HgCurrentContentRevision.create(afterFile, workingRevision), FileStatus.MERGED_WITH_CONFLICTS ), myVcsKey); continue; } if (isDeleteOfCopiedFile(change, changes)) { // Don't register the 'delete' change for renamed or moved files; IDEA already handles these // itself. continue; } HgChangeProcessor processor = Holder.PROCESSORS.get(status); if (processor != null) { processor.process(myProject, myVcsKey, builder, workingRevision, parentRevision, beforeFile, afterFile); } } }