public RemoteInfoScmResult remoteInfo( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return new RemoteInfoScmResult( "", null, null ); } }
/** * {@inheritDoc} */ public void consumeLine( String line ) { if ( logger.isDebugEnabled() ) { logger.debug( line ); } Matcher matcher = BRANCH_PATTERN.matcher( line ); if ( matcher.matches() ) { remoteInfoScmResult.getBranches().put( matcher.group( 2 ), matcher.group( 1 ) ); } matcher = TAGS_PATTERN.matcher( line ); if ( matcher.matches() ) { remoteInfoScmResult.getTags().put( matcher.group( 2 ), matcher.group( 1 ) ); } }
: StringUtils.substringBeforeLast( url, "/" ); RemoteInfoScmResult remoteInfoScmResult = new RemoteInfoScmResult( null, null, null, true ); SVNRevision.HEAD, SVNRevision.HEAD, false, false, dirEntryHandler ); remoteInfoScmResult.setTags( dirEntryHandler.infos ); return new RemoteInfoScmResult( null, e.getMessage(), null, false ); SVNRevision.HEAD, SVNRevision.HEAD, false, false, dirEntryHandler ); remoteInfoScmResult.setBranches( dirEntryHandler.infos ); return new RemoteInfoScmResult( null, e.getMessage(), null, false );
&& result.getBranches().size() > 0 )
&& result.getBranches().size() > 0 )
public RemoteInfoScmResult remoteInfo( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return new RemoteInfoScmResult( "", null, null ); } }
/** * {@inheritDoc} */ public void consumeLine( String line ) { if ( logger.isDebugEnabled() ) { logger.debug( line ); } Matcher matcher = BRANCH_PATTERN.matcher( line ); if ( matcher.matches() ) { remoteInfoScmResult.getBranches().put( matcher.group( 2 ), matcher.group( 1 ) ); } matcher = TAGS_PATTERN.matcher( line ); if ( matcher.matches() ) { remoteInfoScmResult.getTags().put( matcher.group( 2 ), matcher.group( 1 ) ); } }
&& result.getBranches().size() > 0 )
public GitRemoteInfoConsumer( ScmLogger logger, String commandLine ) { this.logger = logger; this.remoteInfoScmResult = new RemoteInfoScmResult( commandLine, new HashMap<String, String>(), new HashMap<String, String>() ); }
&& result.getBranches().size() > 0 )
public GitRemoteInfoConsumer( ScmLogger logger, String commandLine ) { this.logger = logger; this.remoteInfoScmResult = new RemoteInfoScmResult( commandLine, new HashMap<String, String>(), new HashMap<String, String>() ); }
return new RemoteInfoScmResult( "JGit remoteinfo", heads, tag );
return new RemoteInfoScmResult( cl.toString(), "The svn command failed.", stderr.getOutput(), false ); return new RemoteInfoScmResult( cl.toString(), "The svn command failed.", stderr.getOutput(), false ); return new RemoteInfoScmResult( cl.toString(), branchesInfos, tagsInfos );
return new RemoteInfoScmResult( "JGit remoteinfo", heads, tag );
return new RemoteInfoScmResult( cl.toString(), "The svn command failed.", stderr.getOutput(), false ); return new RemoteInfoScmResult( cl.toString(), "The svn command failed.", stderr.getOutput(), false ); return new RemoteInfoScmResult( cl.toString(), branchesInfos, tagsInfos );