Commit 1496c015 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

try to move wiki if it does not exist

parent 6752968b
...@@ -27,9 +27,7 @@ class ProjectTransferService ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment