Index: devel/arcanist-lib/files/patch-src_workflow_ArcanistListWorkflow.php =================================================================== --- /dev/null +++ devel/arcanist-lib/files/patch-src_workflow_ArcanistListWorkflow.php @@ -0,0 +1,25 @@ +--- src/workflow/ArcanistListWorkflow.php.orig 2023-01-27 15:20:47 UTC ++++ src/workflow/ArcanistListWorkflow.php +@@ -63,13 +63,18 @@ EOTEXT + + $info = array(); + foreach ($revisions as $key => $revision) { +- $revision_path = Filesystem::resolvePath($revision['sourcePath']); +- $current_path = Filesystem::resolvePath($repository_api->getPath()); +- if ($revision_path == $current_path) { +- $info[$key]['exists'] = 1; ++ if ($revision['sourcePath']) { ++ $revision_path = Filesystem::resolvePath($revision['sourcePath']); ++ $current_path = Filesystem::resolvePath($repository_api->getPath()); ++ if ($revision_path == $current_path) { ++ $info[$key]['exists'] = 1; ++ } else { ++ $info[$key]['exists'] = 0; ++ } + } else { + $info[$key]['exists'] = 0; + } ++ + $info[$key]['sort'] = sprintf( + '%d%04d%08d', + $info[$key]['exists'],