void (@NotNull final ProgressIndicator indicator) { ProjectLevelVcsManager.getInstance(myProject).startBackgroundVcsOperation(); indicator.setIndeterminate(true); final boolean supportsChangelists = myNewFormat.supportsChangelists(); if (supportsChangelists) { myBeforeChangeLists = ChangeListManager.getInstance(myProject).getChangeLists(); } try { for (WCInfo wcInfo : myWcInfos) { File path = new File(wcInfo.getPath()); if (! wcInfo.isIsWcRoot()) { path = SvnUtil.getWorkingCopyRoot(path); } try { ProgressTracker handler = createUpgradeHandler(indicator, path, wcInfo.getFormat()); myVcs.getFactory(path).createUpgradeClient().upgrade(path, myNewFormat, handler); } catch (Throwable e) { myExceptions.add(e); } } } finally { ProjectLevelVcsManager.getInstance(myProject).stopBackgroundVcsOperation(); // to map to native if (supportsChangelists) { ExclusiveBackgroundVcsAction.run( myProject, () -> SvnVcs.getInstance(myProject).synchronizeToNativeChangeLists(myBeforeChangeLists) ); } BackgroundTaskUtil.syncPublisher(SvnVcs.WC_CONVERTED).run(); } }