Differential D8774 Diff 20827 src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryMercurialCommitMessageParserWorker.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryMercurialCommitMessageParserWorker.php
Show All 9 Lines | public function parseCommit( | ||||
$ref = id(new DiffusionLowLevelCommitQuery()) | $ref = id(new DiffusionLowLevelCommitQuery()) | ||||
->setRepository($repository) | ->setRepository($repository) | ||||
->withIdentifier($commit->getCommitIdentifier()) | ->withIdentifier($commit->getCommitIdentifier()) | ||||
->execute(); | ->execute(); | ||||
$this->updateCommitData($ref); | $this->updateCommitData($ref); | ||||
if ($this->shouldQueueFollowupTasks()) { | if ($this->shouldQueueFollowupTasks()) { | ||||
PhabricatorWorker::scheduleTask( | $this->queueTask( | ||||
'PhabricatorRepositoryMercurialCommitChangeParserWorker', | 'PhabricatorRepositoryMercurialCommitChangeParserWorker', | ||||
array( | array( | ||||
'commitID' => $commit->getID(), | 'commitID' => $commit->getID(), | ||||
)); | )); | ||||
} | } | ||||
} | } | ||||
} | } |