Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkWorkflow.php
Show All 22 Lines | final class ArcanistWorkWorkflow | ||||
public function getWorkflowInformation() { | public function getWorkflowInformation() { | ||||
$help = pht(<<<EOHELP | $help = pht(<<<EOHELP | ||||
Begin or resume work on a branch, bookmark, task, or revision. | Begin or resume work on a branch, bookmark, task, or revision. | ||||
The __symbol__ may be a branch or bookmark name, a revision name (like "D123"), | The __symbol__ may be a branch or bookmark name, a revision name (like "D123"), | ||||
a task name (like "T123"), or a new symbol. | a task name (like "T123"), or a new symbol. | ||||
If you provide a symbol which currently does not identify any ongoing work, | If you provide a symbol which currently does not identify any ongoing work, | ||||
Arcanist will create a new branch or bookmark with the name you provide. | a new branch or bookmark will be created with the name you provide. | ||||
If you provide the name of an existing branch or bookmark, Arcanist will switch | If you provide the name of an existing branch or bookmark, the working copy | ||||
to that branch or bookmark. | will be switched to that branch or bookmark. | ||||
If you provide the name of a revision or task, Arcanist will look for a related | If you provide the name of a revision or task, the workflow will look for a | ||||
branch or bookmark that exists in the working copy. If it finds one, it will | related branch or bookmark that already exists in the working copy. If one is | ||||
switch to it. If it does not find one, it will attempt to create a new branch | found, it will switch to it. If it does not find one, it will attempt to create | ||||
or bookmark. | a new branch or bookmark. | ||||
When "arc work" creates a branch or bookmark, it will use **--start** as the | When "arc work" creates a branch or bookmark, it will use **--start** as the | ||||
branchpoint if it is provided. Otherwise, the current working copy state will | branchpoint if it is provided. Otherwise, the current working copy state will | ||||
serve as the starting point. | serve as the starting point. | ||||
EOHELP | EOHELP | ||||
); | ); | ||||
return $this->newWorkflowInformation() | return $this->newWorkflowInformation() | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |