Search in sources :

Example 1 with HgDiffCommand

use of org.apache.maven.scm.provider.hg.command.diff.HgDiffCommand in project maven-scm by apache.

the class HgScmProvider method diff.

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

Aggregations

DiffScmResult (org.apache.maven.scm.command.diff.DiffScmResult)1 HgDiffCommand (org.apache.maven.scm.provider.hg.command.diff.HgDiffCommand)1