code: protected InfoScmResult info( ScmRepository repository, ScmFileSet fileSet )
          throws ScmException
      {
          CommandParameters commandParameters = new CommandParameters();
  
          // only for Git, we will make a test for shortRevisionLength parameter
          if ( GitScmProviderRepository.PROTOCOL_GIT.equals( scmManager.getProviderByRepository( repository ).getScmType() )
              && this.shortRevisionLength > 0 )
          {
              getLog().info( "ShortRevision tag detected. The value is '" + this.shortRevisionLength + "'." );
              if ( shortRevisionLength >= 0 && shortRevisionLength < 4 )
              {
                  getLog().warn( "shortRevision parameter less then 4. ShortRevisionLength is relaying on 'git rev-parese --short=LENGTH' command, accordingly to Git rev-parse specification the LENGTH value is miminum 4. " );
              }
              commandParameters.setInt( CommandParameter.SCM_SHORT_REVISION_LENGTH, this.shortRevisionLength );
          }
  
          if ( !StringUtils.isBlank( scmTag ) && !"HEAD".equals( scmTag ) )
          {
              commandParameters.setScmVersion( CommandParameter.SCM_VERSION, new ScmTag( scmTag ) );
          }
  
          return scmManager.getProviderByRepository( repository ).info( repository.getProviderRepository(), fileSet,
                                                                        commandParameters );
      }
docs: Get info from scm.
  
  @param repository
  @param fileSet
  @return
  @throws ScmException
  @todo this should be rolled into org.apache.maven.scm.provider.ScmProvider and
  org.apache.maven.scm.provider.svn.SvnScmProvider