void (@NotNull Project project, @Nullable VirtualFile file) { if (file == null) { return; } RootUrlInfo wcRoot = SvnVcs.getInstance(project).getSvnFileUrlMapping().getWcRootForFilePath(getFilePath(file)); if (wcRoot == null) { return; } SvnBranchConfigurationNew configuration = SvnBranchConfigurationManager.getInstance(project).get(file); SvnBranchConfigurationNew clonedConfiguration = configuration.copy(); if (new BranchConfigurationDialog(project, clonedConfiguration, wcRoot.getRepositoryUrl(), file, wcRoot.getUrl()).showAndGet()) { SvnBranchConfigurationManager.getInstance(project).setConfiguration(file, clonedConfiguration); } }