/** * {@inheritDoc} */ public MkdirScmResult mkdir( ScmRepository repository, ScmFileSet fileSet, String message, boolean createInLocal ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); if ( message == null ) { message = ""; if ( !createInLocal ) { getLogger().warn( "Commit message is empty!" ); } } parameters.setString( CommandParameter.MESSAGE, message ); parameters.setString( CommandParameter.SCM_MKDIR_CREATE_IN_LOCAL, Boolean.toString( createInLocal ) ); return mkdir( repository.getProviderRepository(), fileSet, parameters ); }
/** * {@inheritDoc} */ public MkdirScmResult mkdir( ScmRepository repository, ScmFileSet fileSet, String message, boolean createInLocal ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); if ( message == null ) { message = ""; if ( !createInLocal ) { getLogger().warn( "Commit message is empty!" ); } } parameters.setString( CommandParameter.MESSAGE, message ); parameters.setString( CommandParameter.SCM_MKDIR_CREATE_IN_LOCAL, Boolean.toString( createInLocal ) ); return mkdir( repository.getProviderRepository(), fileSet, parameters ); }