mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix bin/repository importing
for CLOSEABLE flag
Summary: After adding the CLOSEABLE flag, `bin/repository importing` reports CLOSEABLE commits with no information. Just don't report these, for consistency with the old behavior. Adding flags to show them might be nice at some point if we run into issues where that output would be useful. Test Plan: Ran `bin/repositroy importing` on a repository with CLOSEABLE commits. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D8024
This commit is contained in:
parent
136af8d2ab
commit
be59578794
1 changed files with 2 additions and 1 deletions
|
@ -40,9 +40,10 @@ final class PhabricatorRepositoryManagementImportingWorkflow
|
|||
$rows = queryfx_all(
|
||||
$conn_r,
|
||||
'SELECT repositoryID, commitIdentifier, importStatus FROM %T
|
||||
WHERE repositoryID IN (%Ld) AND importStatus != %d',
|
||||
WHERE repositoryID IN (%Ld) AND (importStatus & %d) != %d',
|
||||
$table->getTableName(),
|
||||
array_keys($repos),
|
||||
PhabricatorRepositoryCommit::IMPORTED_ALL,
|
||||
PhabricatorRepositoryCommit::IMPORTED_ALL);
|
||||
|
||||
$console = PhutilConsole::getConsole();
|
||||
|
|
Loading…
Reference in a new issue