Class SvnCommandUtils
- java.lang.Object
-
- org.apache.maven.scm.provider.svn.SvnCommandUtils
-
public final class SvnCommandUtils extends Object
Command utilities for svn commands.- Author:
- Jerome Lacoste
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
fixUrl(String url, String username)
Add or overrides the username into a url with a svn+ssh scheme.
-
-
-
Method Detail
-
fixUrl
public static String fixUrl(String url, String username)
Add or overrides the username into a url with a svn+ssh scheme.Svn 1.3.1 doesn't use the username information specified by --username when the url uses the svn+ssh scheme. This allows to fix it. See MRELEASE-35.
Convert file url which derived from windows file path to unix path.
- Parameters:
url
- the url, notnull
username
- the username, may benull
- Returns:
- the fixed url
- Throws:
NullPointerException
- if url isnull
-
-