com.aragost.javahg.commands
Class BranchesCommand
java.lang.Object
com.aragost.javahg.internals.AbstractCommand
com.aragost.javahg.commands.flags.BranchesCommandFlags
com.aragost.javahg.commands.BranchesCommand
public class BranchesCommand
- extends BranchesCommandFlags
Command class for executing hg branches. Set flags from
BranchesCommandFlags
and see the execute()
method
for how to run the command.
This class wont be able to parse the branch names correctly if they
contain newline characters (Mercurial will unfortunately let you
create such branch names).
Methods inherited from class com.aragost.javahg.internals.AbstractCommand |
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, isSuccessful, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag |
BranchesCommand
public BranchesCommand(Repository repository)
execute
public List<Branch> execute()
- Returns:
- list of branches for the repository
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.