Search in sources :

Example 1 with HgBranchCommand

use of org.apache.maven.scm.provider.hg.command.branch.HgBranchCommand in project maven-scm by apache.

the class HgScmProvider method branch.

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

Aggregations

BranchScmResult (org.apache.maven.scm.command.branch.BranchScmResult)1 HgBranchCommand (org.apache.maven.scm.provider.hg.command.branch.HgBranchCommand)1