Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistPatchWorkflow.php
Show First 20 Lines • Show All 884 Lines • ▼ Show 20 Lines | if ($revision_id && $this->isConduitAuthenticated()) { | ||||
$conduit = $this->getConduit(); | $conduit = $this->getConduit(); | ||||
$commit_message = $conduit->callMethodSynchronous( | $commit_message = $conduit->callMethodSynchronous( | ||||
'differential.getcommitmessage', | 'differential.getcommitmessage', | ||||
array( | array( | ||||
'revision_id' => $revision_id, | 'revision_id' => $revision_id, | ||||
)); | )); | ||||
$prompt_message = pht( | $prompt_message = pht( | ||||
' Note arcanist failed to load the commit message '. | ' NOTE: Failed to load the commit message from Differential (for '. | ||||
'from differential for revision %s.', | 'revision "%s".)', | ||||
"D{$revision_id}"); | "D{$revision_id}"); | ||||
} | } | ||||
// no revision id or failed to fetch commit message so get it from the | // no revision id or failed to fetch commit message so get it from the | ||||
// user on the command line | // user on the command line | ||||
if (!$commit_message) { | if (!$commit_message) { | ||||
$template = sprintf( | $template = sprintf( | ||||
"\n\n# %s%s\n", | "\n\n# %s%s\n", | ||||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |