Skip to content
Snippets Groups Projects
Commit 70fc1c50 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

cleanup ProjectMover

parent f1c24f40
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -25,7 +25,7 @@ class ProjectTransferService
 
true
end
rescue Gitlab::ProjectMover::ProjectMoveError => ex
rescue => ex
raise Project::TransferError.new(ex.message)
end
end
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment