提交 70fc1c50 编写于 作者: D Dmitriy Zaporozhets

cleanup ProjectMover

上级 f1c24f40
...@@ -25,7 +25,7 @@ class ProjectTransferService ...@@ -25,7 +25,7 @@ class ProjectTransferService
true true
end end
rescue Gitlab::ProjectMover::ProjectMoveError => ex rescue => ex
raise Project::TransferError.new(ex.message) raise Project::TransferError.new(ex.message)
end end
end end
......
...@@ -99,7 +99,7 @@ namespace :gitlab do ...@@ -99,7 +99,7 @@ namespace :gitlab do
end end
begin begin
Gitlab::ProjectMover.new(project, '', group.path).execute project.transfer(group.path)
puts "moved to #{new_path}".green puts "moved to #{new_path}".green
rescue rescue
puts "failed moving to #{new_path}".red puts "failed moving to #{new_path}".red
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册