Class ArcanistLandWorkflow
Lands a branch by rebasing, merging and amending it.
Tasks
Methods
private checkoutBranch()
This method is not documented.
private cleanupBranch()
This method is not documented.
private executeCleanupAfterFailedPush()
This method is not documented.
private findRevision()
This method is not documented.
public getArguments()
This method is not documented.
private getBranchOrBookmark()
This method is not documented.
private getBranchType($branch)
| parameters | wild | $branch | |
| return | wild | | |
This method is not documented.
public getCommandHelp()
This method is not documented.
public getCommandSynopses()
This method is not documented.
protected getSupportedRevisionControlSystems()
This method is not documented.
public getWorkflowName()
This method is not documented.
private void handleAlternateBranches($branch_root, $branch_range)
| parameters | string | $branch_root | The revision id of the landing branch's root commit. |
| string | $branch_range | The revset specifying all the commits in the landing branch. |
| return | void | | |
Detect alternate branches and prompt the user for how to handle
them. An alternate branch is a branch that forks from the landing
branch prior to the landing branch tip.
In a situation like this:
-a--------b master
\
w--x landingbranch
\ \-- g subbranch
\--y altbranch1
\--z altbranch2
y and z are alternate branches and will get deleted by the squash,
so we need to detect them and ask the user what they want to do.
private merge()
This method is not documented.
private printPendingCommits()
This method is not documented.
private pullFromRemote()
This method is not documented.
private push()
This method is not documented.
private readArguments()
This method is not documented.
private rebase()
This method is not documented.
public requiresAuthentication()
This method is not documented.
public requiresConduit()
This method is not documented.
public requiresRepositoryAPI()
This method is not documented.
public requiresWorkingCopy()
This method is not documented.
private restoreBranch()
Restore the original branch, e.g. after a successful land or a failed
pull.
public run()
This method is not documented.
private squash()
This method is not documented.
private validate()
This method is not documented.