Page MenuHomePhabricator

D7376.diff
No OneTemporary

D7376.diff

Index: src/workflow/ArcanistFeatureWorkflow.php
===================================================================
--- src/workflow/ArcanistFeatureWorkflow.php
+++ src/workflow/ArcanistFeatureWorkflow.php
@@ -48,7 +48,7 @@
}
public function requiresAuthentication() {
- return !$this->getArgument('names');
+ return !$this->getArgument('branch');
}
@@ -60,7 +60,7 @@
'by-status' => array(
'help' => 'Sort branches by status instead of time.',
),
- '*' => 'names',
+ '*' => 'branch',
);
}
@@ -72,7 +72,7 @@
'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.");
@@ -109,7 +109,7 @@
if (isset($names[1])) {
$start = $names[1];
} else {
- $start = $this->getWorkingCopy()->getConfigFromAnySource(
+ $start = $this->getConfigFromAnySource(
'arc.feature.start.default');
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 12:54 AM (2 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716287
Default Alt Text
D7376.diff (1 KB)

Event Timeline