Summary: SPOOKY
Test Plan: `arc feature <tab>`
Reviewers: cpojer, btrahan
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D7376
}
public function requiresAuthentication() {
- return !$this->getArgument('names');
+ return !$this->getArgument('branch');
}
'by-status' => array(
'help' => 'Sort branches by status instead of time.',
),
- '*' => 'names',
+ '*' => 'branch',
);
}
'arc feature is only supported under Git and Mercurial.');
}
- $names = $this->getArgument('names');
+ $names = $this->getArgument('branch');
if ($names) {
if (count($names) > 2) {
throw new ArcanistUsageException("Specify only one branch.");
if (isset($names[1])) {
$start = $names[1];
} else {
- $start = $this->getWorkingCopy()->getConfigFromAnySource(
+ $start = $this->getConfigFromAnySource(
'arc.feature.start.default');
}