Changeset View
Changeset View
Standalone View
Standalone View
src/repository/graph/query/ArcanistMercurialCommitGraphQuery.php
Context not available. | |||||
continue; | continue; | ||||
} | } | ||||
$fields = explode("\2", $line); | $fields = @explode("\2", $line); | ||||
if (count($fields) !== 5) { | if (count($fields) !== 5) { | ||||
throw new Exception( | throw new Exception( | ||||
Context not available. | |||||
->setCommitMessage($message) | ->setCommitMessage($message) | ||||
->setCommitEpoch((int)strtotime($commit_epoch)); | ->setCommitEpoch((int)strtotime($commit_epoch)); | ||||
if (strlen($parents)) { | if (@strlen($parents)) { | ||||
$parents = explode(' ', $parents); | $parents = @explode(' ', $parents); | ||||
$parent_nodes = array(); | $parent_nodes = array(); | ||||
foreach ($parents as $parent) { | foreach ($parents as $parent) { | ||||
if ($parent === $no_parent) { | if ($parent === $no_parent) { | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0