From 71605e1c2dc612fb51972e2ec0f652643c188122 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 7 Mar 2011 22:16:53 -0800 Subject: [PATCH] Minor improvements to PhabricatorRepositoryGitCommitDiscoveryDaemon.php --- .../git/PhabricatorRepositoryGitCommitDiscoveryDaemon.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/repository/daemon/commitdiscovery/git/PhabricatorRepositoryGitCommitDiscoveryDaemon.php b/src/applications/repository/daemon/commitdiscovery/git/PhabricatorRepositoryGitCommitDiscoveryDaemon.php index e70695d92e..2c9e077b0c 100644 --- a/src/applications/repository/daemon/commitdiscovery/git/PhabricatorRepositoryGitCommitDiscoveryDaemon.php +++ b/src/applications/repository/daemon/commitdiscovery/git/PhabricatorRepositoryGitCommitDiscoveryDaemon.php @@ -71,7 +71,6 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon $parents = array_filter(explode(' ', trim($parents))); foreach ($parents as $parent) { if (!$this->isKnownCommit($parent)) { - echo "{$target} has parent {$parent}\n"; $discover[] = $parent; $insert[] = $parent; } @@ -79,6 +78,7 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon if (empty($discover)) { break; } + $this->stillWorking(); } while (true) { @@ -110,6 +110,7 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon if (empty($insert)) { break; } + $this->stillWorking(); } }