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);
}
Aggregations