cleanup ProjectMover

5-0-stable
Dmitriy Zaporozhets 2013-03-12 14:13:25 +02:00
parent f1c24f40f9
commit 70fc1c5021
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class ProjectTransferService
true
end
rescue Gitlab::ProjectMover::ProjectMoveError => ex
rescue => ex
raise Project::TransferError.new(ex.message)
end
end

View File

@ -99,7 +99,7 @@ namespace :gitlab do
end
begin
Gitlab::ProjectMover.new(project, '', group.path).execute
project.transfer(group.path)
puts "moved to #{new_path}".green
rescue
puts "failed moving to #{new_path}".red