Search in sources :

Example 1 with HgUpdateCommand

use of org.apache.maven.scm.provider.hg.command.update.HgUpdateCommand in project maven-scm by apache.

the class HgScmProvider method update.

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

Aggregations

UpdateScmResult (org.apache.maven.scm.command.update.UpdateScmResult)1 HgUpdateCommand (org.apache.maven.scm.provider.hg.command.update.HgUpdateCommand)1