try to move wiki if it does not exist
This commit is contained in:
parent
6752968bb5
commit
1496c01521
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue