Class HgBranchCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.branch.AbstractBranchCommand
-
- org.apache.maven.scm.provider.hg.command.branch.HgBranchCommand
-
- All Implemented Interfaces:
Command
public class HgBranchCommand extends AbstractBranchCommand implements Command
Branch. Mercurial has weird branches. After a branch is created, it must be committed to the server, otherwise the branch does not exist (yet) in the repository.- Author:
- Henning Schmiedehausen
-
-
Constructor Summary
Constructors Constructor Description HgBranchCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScmResultexecuteBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, java.lang.String branch, java.lang.String message)protected ScmResultexecuteBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, java.lang.String branch, ScmBranchParameters scmBranchParameters)default impl to provide backward comp-
Methods inherited from class org.apache.maven.scm.command.branch.AbstractBranchCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, java.lang.String branch, java.lang.String message) throws ScmException
- Specified by:
executeBranchCommandin classAbstractBranchCommand- Throws:
ScmException
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, java.lang.String branch, ScmBranchParameters scmBranchParameters) throws ScmException
default impl to provide backward comp- Overrides:
executeBranchCommandin classAbstractBranchCommand- Returns:
- Throws:
ScmException
-
-