public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion )
throws ScmException
{
login( repository, fileSet );
CommandParameters parameters = new CommandParameters();
parameters.setString( CommandParameter.RECURSIVE, Boolean.toString( recursive ) );
if ( scmVersion != null )
{
parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion );
}
return list( repository.getProviderRepository(), fileSet, parameters );
}