void (@NotNull ProgressIndicator indicator) { indicator.setIndeterminate(true); for (VirtualFile root : myRoots) { try { File path = virtualToIoFile(root); File pathOrParent = virtualToIoFile(root.isDirectory() ? root : root.getParent()); indicator.setText(message("progress.text.performing.path.cleanup", path)); myVcs.getFactory(path).createCleanupClient().cleanup(pathOrParent, new SvnProgressCanceller(indicator)); } catch (VcsException e) { myExceptions.add(Pair.create(e, root)); } } }