Package jetbrains.buildServer.vcs
Interface RootMerger
-
@Deprecated public interface RootMerger
Deprecated.since 7.1, you no longer need to implement this interfaceImplement the interface in the VcsSupport to allow vcs root merge by the version control (merging several roots with one by adding checkout rules).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description VcsRoot
getCommonParent(VcsRoot root1, VcsRoot root2)
Deprecated.java.lang.String
getPrefixPath(VcsRoot parent, VcsRoot subRoot)
Deprecated.
-
-
-
Method Detail
-
getCommonParent
@Nullable @Deprecated VcsRoot getCommonParent(@NotNull VcsRoot root1, @NotNull VcsRoot root2)
Deprecated.returns common parent of two roots.- Parameters:
root1
- first root.root2
- second root.- Returns:
- common parent. Null if roots do not have common parent.
-
getPrefixPath
@NotNull @Deprecated java.lang.String getPrefixPath(@NotNull VcsRoot parent, @NotNull VcsRoot subRoot)
Deprecated.returns prefix of the root according to the parent. Adding checkout root with the same left part as prefix has to transform parent root into child one.- Parameters:
parent
- parent root.subRoot
- child root.- Returns:
- prefix which has transform parent root into child. For example, parent svn root has url svn://server/project child svn root has url svn://server/project/branch/src Other properties are equal. Prefix should be branch/src
-
-