@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2 -1
+2 -1
src/applications/repository/management/PhabricatorRepositoryManagementImportingWorkflow.php
··· 40 40 $rows = queryfx_all( 41 41 $conn_r, 42 42 'SELECT repositoryID, commitIdentifier, importStatus FROM %T 43 - WHERE repositoryID IN (%Ld) AND importStatus != %d', 43 + WHERE repositoryID IN (%Ld) AND (importStatus & %d) != %d', 44 44 $table->getTableName(), 45 45 array_keys($repos), 46 + PhabricatorRepositoryCommit::IMPORTED_ALL, 46 47 PhabricatorRepositoryCommit::IMPORTED_ALL); 47 48 48 49 $console = PhutilConsole::getConsole();