protected DiffScmResult diff( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { // Because tf launches only external diffs return super.diff( repository, fileSet, parameters ); }
protected DiffScmResult diff( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { // Because tf launches only external diffs return super.diff( repository, fileSet, parameters ); }
/** * {@inheritDoc} * * @deprecated */ public DiffScmResult diff( ScmRepository repository, ScmFileSet fileSet, String startRevision, String endRevision ) throws ScmException { ScmVersion startVersion = null; ScmVersion endVersion = null; if ( StringUtils.isNotEmpty( startRevision ) ) { startVersion = new ScmRevision( startRevision ); } if ( StringUtils.isNotEmpty( endRevision ) ) { endVersion = new ScmRevision( endRevision ); } return diff( repository, fileSet, startVersion, endVersion ); }
/** * {@inheritDoc} * * @deprecated */ public DiffScmResult diff( ScmRepository repository, ScmFileSet fileSet, String startRevision, String endRevision ) throws ScmException { ScmVersion startVersion = null; ScmVersion endVersion = null; if ( StringUtils.isNotEmpty( startRevision ) ) { startVersion = new ScmRevision( startRevision ); } if ( StringUtils.isNotEmpty( endRevision ) ) { endVersion = new ScmRevision( endRevision ); } return diff( repository, fileSet, startVersion, endVersion ); }
/** * {@inheritDoc} */ public DiffScmResult diff( ScmRepository repository, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.START_SCM_VERSION, startVersion ); parameters.setScmVersion( CommandParameter.END_SCM_VERSION, endVersion ); return diff( repository.getProviderRepository(), fileSet, parameters ); }
/** * {@inheritDoc} */ public DiffScmResult diff( ScmRepository repository, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.START_SCM_VERSION, startVersion ); parameters.setScmVersion( CommandParameter.END_SCM_VERSION, endVersion ); return diff( repository.getProviderRepository(), fileSet, parameters ); }