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
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.
-
Field Summary
Fields inherited from class AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScmResultexecuteBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String branch, String message) protected ScmResultexecuteBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String branch, ScmBranchParameters scmBranchParameters) Default impl to provide backward comp.private StringMethods inherited from class AbstractBranchCommand
executeCommandMethods inherited from class AbstractCommand
execute
-
Constructor Details
-
HgBranchCommand
public HgBranchCommand()
-
-
Method Details
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String branch, String message) throws ScmException - Specified by:
executeBranchCommandin classAbstractBranchCommand- Throws:
ScmException
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String branch, ScmBranchParameters scmBranchParameters) throws ScmException Default impl to provide backward comp.- Overrides:
executeBranchCommandin classAbstractBranchCommand- Parameters:
scmProviderRepository- TODOfileSet- TODObranch- TODOscmBranchParameters- TODO- Returns:
- TODO
- Throws:
ScmException- if any
-
joinCmd
-