diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-23 20:47:31 +0100 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-23 20:51:27 +0100 |
commit | 3bf0b4e25b4fa4bc865167542391cbd29e40cb53 (patch) | |
tree | ebf1327dbf701101761744a6f1816954dc6939f9 /lib/tasks | |
parent | 02a29d1db400ed4905db7dca9c8fcfa0712d5a1b (diff) | |
download | gitlab-ce-3bf0b4e25b4fa4bc865167542391cbd29e40cb53.tar.gz |
Fix satellite check for projects with empty repo
Fixes #2349
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index baa706d2bee..24bad9d5bba 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -189,6 +189,8 @@ namespace :gitlab do if project.satellite.exists? puts "yes".green + elsif project.empty_repo? + puts "can't create, repository is empty".magenta else puts "no".red try_fixing_it( |