Search in sources :

Example 1 with HgAddCommand

use of org.apache.maven.scm.provider.hg.command.add.HgAddCommand in project maven-scm by apache.

the class HgScmProvider method add.

/**
 * {@inheritDoc}
 */
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException {
    HgAddCommand command = new HgAddCommand();
    command.setLogger(getLogger());
    return (AddScmResult) command.execute(repository, fileSet, parameters);
}
Also used : HgAddCommand(org.apache.maven.scm.provider.hg.command.add.HgAddCommand) AddScmResult(org.apache.maven.scm.command.add.AddScmResult)

Aggregations

AddScmResult (org.apache.maven.scm.command.add.AddScmResult)1 HgAddCommand (org.apache.maven.scm.provider.hg.command.add.HgAddCommand)1