Diviner

Class ArcanistLandWorkflow

Definedsrc/workflow/ArcanistLandWorkflow.php:8
GroupWorkflows
ExtendsArcanistBaseWorkflow

Lands a branch by rebasing, merging and amending it.

Tasks

Methods

private checkoutBranch()

returnwild
This method is not documented.

private cleanupBranch()

returnwild
This method is not documented.

private executeCleanupAfterFailedPush()

returnwild
This method is not documented.

private findRevision()

returnwild
This method is not documented.

public getArguments()

returnwild
This method is not documented.

private getBranchOrBookmark()

returnwild
This method is not documented.

private getBranchType($branch)

parameterswild$branch
returnwild
This method is not documented.

public getCommandHelp()

returnwild
This method is not documented.

public getCommandSynopses()

returnwild
This method is not documented.

protected getSupportedRevisionControlSystems()

returnwild
This method is not documented.

public getWorkflowName()

returnwild
This method is not documented.

private void handleAlternateBranches($branch_root, $branch_range)

parametersstring$branch_rootThe revision id of the landing branch's root commit.
string$branch_rangeThe revset specifying all the commits in the landing branch.
returnvoid

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()

returnwild
This method is not documented.

private printPendingCommits()

returnwild
This method is not documented.

private pullFromRemote()

returnwild
This method is not documented.

private push()

returnwild
This method is not documented.

private readArguments()

returnwild
This method is not documented.

private rebase()

returnwild
This method is not documented.

public requiresAuthentication()

returnwild
This method is not documented.

public requiresConduit()

returnwild
This method is not documented.

public requiresRepositoryAPI()

returnwild
This method is not documented.

public requiresWorkingCopy()

returnwild
This method is not documented.

private restoreBranch()

returnwild

Restore the original branch, e.g. after a successful land or a failed pull.

public run()

returnwild
This method is not documented.

private squash()

returnwild
This method is not documented.

private validate()

returnwild
This method is not documented.