Search in sources :

Example 6 with WCInfo

use of org.jetbrains.idea.svn.dialogs.WCInfo in project intellij-community by JetBrains.

the class WcInfoLoader method reloadInfo.

@Nullable
public WCInfoWithBranches reloadInfo(@NotNull WCInfoWithBranches info) {
    File file = info.getRootInfo().getIoFile();
    RootUrlInfo rootInfo = myVcs.getSvnFileUrlMapping().getWcRootForFilePath(file);
    return rootInfo != null ? createInfo(new WCInfo(rootInfo, SvnUtil.isWorkingCopyRoot(file), SvnUtil.getDepth(myVcs, file))) : null;
}
Also used : WCInfo(org.jetbrains.idea.svn.dialogs.WCInfo) RootUrlInfo(org.jetbrains.idea.svn.RootUrlInfo) File(java.io.File) Nullable(org.jetbrains.annotations.Nullable)

Aggregations

WCInfo (org.jetbrains.idea.svn.dialogs.WCInfo)6 VirtualFile (com.intellij.openapi.vfs.VirtualFile)5 File (java.io.File)5 VfsUtilCore.virtualToIoFile (com.intellij.openapi.vfs.VfsUtilCore.virtualToIoFile)2 RootUrlInfo (org.jetbrains.idea.svn.RootUrlInfo)2 WCInfoWithBranches (org.jetbrains.idea.svn.dialogs.WCInfoWithBranches)2 MergeContext (org.jetbrains.idea.svn.integrate.MergeContext)2 BranchInfo (org.jetbrains.idea.svn.mergeinfo.BranchInfo)2 OneShotMergeInfoHelper (org.jetbrains.idea.svn.mergeinfo.OneShotMergeInfoHelper)2 DumbAwareRunnable (com.intellij.openapi.project.DumbAwareRunnable)1 Nullable (org.jetbrains.annotations.Nullable)1 Node (org.jetbrains.idea.svn.Node)1 CleanupWorker (org.jetbrains.idea.svn.actions.CleanupWorker)1