public final class SvnCommandUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fixUrl(String url,
String username)
Add or overrides the username into a url with a svn+ssh scheme.
|
public static String fixUrl(String url, String username)
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.
url - the url, not nullusername - the username, may be nullNullPointerException - if url is nullCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.