Page MenuHomePhabricator

D15296.id36901.diff
No OneTemporary

D15296.id36901.diff

diff --git a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
--- a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
+++ b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
@@ -27,7 +27,7 @@
),
array(
'name' => 'repository',
- 'param' => 'callsign',
+ 'param' => 'identifier',
'help' => pht('Repository that the documentation belongs to.'),
),
));
@@ -192,19 +192,19 @@
}
$publisher = newv($publisher_class, array());
- $callsign = $args->getArg('repository');
+ $identifier = $args->getArg('repository');
$repository = null;
- if ($callsign) {
+ if (strlen($identifier)) {
$repository = id(new PhabricatorRepositoryQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
- ->withCallsigns(array($callsign))
+ ->withIdentifiers(array($identifier))
->executeOne();
if (!$repository) {
throw new PhutilArgumentUsageException(
pht(
- "Repository '%s' does not exist.",
- $callsign));
+ 'Repository "%s" does not exist.',
+ $identifier));
}
$publisher->setRepositoryPHID($repository->getPHID());

File Metadata

Mime Type
text/plain
Expires
Fri, May 10, 6:16 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6283923
Default Alt Text
D15296.id36901.diff (1 KB)

Event Timeline