Search in sources :

Example 1 with HgInfoCommand

use of org.apache.maven.scm.provider.hg.command.info.HgInfoCommand in project maven-scm by apache.

the class HgScmProvider method info.

/**
 * returns result of hg id -i
 * @since 1.5
 * @see org.apache.maven.scm.provider.AbstractScmProvider#info(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet, org.apache.maven.scm.CommandParameters)
 */
@Override
public InfoScmResult info(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException {
    HgInfoCommand infoCommand = new HgInfoCommand();
    infoCommand.setLogger(getLogger());
    return (InfoScmResult) infoCommand.execute(repository, fileSet, parameters);
}
Also used : HgInfoCommand(org.apache.maven.scm.provider.hg.command.info.HgInfoCommand) InfoScmResult(org.apache.maven.scm.command.info.InfoScmResult)

Aggregations

InfoScmResult (org.apache.maven.scm.command.info.InfoScmResult)1 HgInfoCommand (org.apache.maven.scm.provider.hg.command.info.HgInfoCommand)1