class Checkout extends TextBuiltin
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private boolean |
createBranch |
private boolean |
forced |
private boolean |
forceSwitchBranch |
private java.lang.String |
name |
private boolean |
orphan |
private java.util.List<java.lang.String> |
paths |
Constructor and Description |
---|
Checkout() |
Modifier and Type | Method and Description |
---|---|
protected void |
run()
Perform the actions of this command.
|
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
private boolean createBranch
private boolean forceSwitchBranch
private boolean forced
private boolean orphan
private java.lang.String name
private java.util.List<java.lang.String> paths
protected void run() throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
java.lang.Exception
- an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.