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

try to move wiki if it does not exist

parent 6752968b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,9 +27,7 @@ class ProjectTransferService
end
 
# Move wiki repo also if present
if project.wikis.any?
gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki")
end
gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki")
 
true
end
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