com.aragost.javahg.commands
Class RollbackCommand
java.lang.Object
com.aragost.javahg.internals.AbstractCommand
com.aragost.javahg.commands.flags.RollbackCommandFlags
com.aragost.javahg.commands.RollbackCommand
public class RollbackCommand
- extends RollbackCommandFlags
Command class for executing hg rollback. Set flags from
RollbackCommandFlags
and call theexecute()
method.
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 |
RollbackCommand
public RollbackCommand(Repository repository)
- Parameters:
repository
- the repository associated with this command.
execute
public Changeset execute()
- Rollback last transaction.
- Returns:
- The new tip of the repository
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.