Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistFeatureWorkflow.php
Show All 40 Lines | |||||
doesn't exist and is in format D123 then the branch of revision D123 is | doesn't exist and is in format D123 then the branch of revision D123 is | ||||
checked out. Use __start__ to specify where the new branch will start. Use | checked out. Use __start__ to specify where the new branch will start. Use | ||||
'arc.feature.start.default' to set the default feature start location. | 'arc.feature.start.default' to set the default feature start location. | ||||
EOHELP | EOHELP | ||||
)); | )); | ||||
} | } | ||||
public function runWorkflow() { | public function runWorkflow() { | ||||
$working_copy = $this->getWorkingCopy(); | |||||
$repository_api = $this->getRepositoryAPI(); | $repository_api = $this->getRepositoryAPI(); | ||||
if (!$repository_api) { | if (!$repository_api) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'This command must be run in a Git or Mercurial working copy.')); | 'This command must be run in a Git or Mercurial working copy.')); | ||||
} | } | ||||
$names = $this->getArgument('branch'); | $names = $this->getArgument('branch'); | ||||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |