in src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/info/SvnInfoCommandExpanded.java [111:146]
protected static Commandline createCommandLine( final SvnScmProviderRepository repository,
final ScmFileSet fileSet, final boolean recursive,
final String revision )
{
Commandline cl = SvnCommandLineUtils.getBaseSvnCommandLine( fileSet.getBasedir(), repository );
cl.createArg().setValue( "info" );
if ( recursive )
{
cl.createArg().setValue( "--recursive" );
}
if ( revision != null && !revision.isEmpty() )
{
cl.createArg().setValue( "-r" );
cl.createArg().setValue( revision );
}
Iterator<File> it = fileSet.getFileList().iterator();
while ( it.hasNext() )
{
File file = it.next();
if ( repository == null )
{
cl.createArg().setValue( file.getPath() );
}
else
{
cl.createArg().setValue( repository.getUrl() + "/" + file.getPath().replace( '\\', '/' ) );
}
}
return cl;
}