diff --git a/scripts/repository/reparse.php b/scripts/repository/reparse.php index b983f7dfc5..1a9e41d3f5 100755 --- a/scripts/repository/reparse.php +++ b/scripts/repository/reparse.php @@ -121,10 +121,11 @@ if ($all_from_repo) { 'repositoryID = %d %Q', $repository->getID(), $constraint); - if (!$commits) { - throw new Exception("No commits have been discovered in that repository!"); - } $callsign = $repository->getCallsign(); + if (!$commits) { + echo "No commits have been discovered in {$callsign} repository!\n"; + exit; + } } else { $commits = array(); foreach ($reparse_what as $identifier) {