/** * Resolves a branch name to a repository url. * Will not use the {@link SvnScmProviderRepository#getTagBase()} during resolution. * * @param repositoryUrl string url for the repository * @param branch branch name * @return * @see #resolveUrl(String,String,String,ScmBranch) */ public static String resolveBranchUrl( String repositoryUrl, ScmBranch branch ) { return resolveUrl( repositoryUrl, resolveBranchBase( repositoryUrl ), SVN_BRANCHES, branch ); }
public static String resolveBranchBase( SvnScmProviderRepository repository ) { return resolveBranchBase( repository.getUrl() ); }
/** * Resolves a branch name to a repository url. * Will not use the {@link SvnScmProviderRepository#getTagBase()} during resolution. * * @param repositoryUrl string url for the repository * @param branch branch name * @return * @see #resolveUrl(String,String,String,ScmBranch) */ public static String resolveBranchUrl( String repositoryUrl, ScmBranch branch ) { return resolveUrl( repositoryUrl, resolveBranchBase( repositoryUrl ), SVN_BRANCHES, branch ); }
public static String resolveBranchBase( SvnScmProviderRepository repository ) { return resolveBranchBase( repository.getUrl() ); }
public SvnScmProviderRepository( String url ) { parseUrl( url ); tagBase = SvnTagBranchUtils.resolveTagBase( url ); branchBase = SvnTagBranchUtils.resolveBranchBase( url ); }
public SvnScmProviderRepository( String url ) { parseUrl( url ); tagBase = SvnTagBranchUtils.resolveTagBase( url ); branchBase = SvnTagBranchUtils.resolveBranchBase( url ); }
&& !tagBase.equals( resolveBranchBase( repositoryUrl ) ) )
&& !tagBase.equals( resolveBranchBase( repositoryUrl ) ) )