com.aragost.javahg.commands
Class BackoutCommand
java.lang.Object
com.aragost.javahg.internals.AbstractCommand
com.aragost.javahg.commands.flags.BackoutCommandFlags
com.aragost.javahg.commands.BackoutCommand
public class BackoutCommand
- extends BackoutCommandFlags
Command class for executing hg backout. Set flags from
BackoutCommandFlags
.
Methods inherited from class com.aragost.javahg.internals.AbstractCommand |
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag |
BackoutCommand
public BackoutCommand(Repository repository)
- Parameters:
repository
- the repository associated with this command.
merge
public BackoutCommand merge()
- Description copied from class:
BackoutCommandFlags
- Set the --merge command line flag.
- Overrides:
merge
in class BackoutCommandFlags
- Returns:
- this instance
- See Also:
- Mercurial
documentation
execute
public BackoutConflictResolvingContext execute()
- Execute the backout.
- Returns:
- Merge context
isSuccessful
public boolean isSuccessful()
- Description copied from class:
AbstractCommand
- Check if the command ended with a zero return code. Subclasses
can override this to accept other return codes as successful.
- Overrides:
isSuccessful
in class AbstractCommand
- Returns:
- true if the command ended successfully.
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.