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
Branches
Tags
No related merge requests found
Loading
@@ -27,9 +27,7 @@ class ProjectTransferService
Loading
@@ -27,9 +27,7 @@ class ProjectTransferService
end end
   
# Move wiki repo also if present # Move wiki repo also if present
if project.wikis.any?
gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki") gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki")
end
   
true true
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment