void (final @NotNull @NonNls String targetRevision, @NotNull List<? extends HgRepository> repos, final @Nullable Runnable callInAwtLater) { FileDocumentManager.getInstance().saveAllDocuments(); for (HgRepository repo : repos) { final VirtualFile repository = repo.getRoot(); Project project = repo.getProject(); updateRepoTo(project, repository, targetRevision, callInAwtLater); } }