Commit 23f53c43ce9785f9974b81f3b34bb1f315b66f01

Authored by Dmitriy Zaporozhets
1 parent 7daf3947

Rename wiki repo if project repo was removed

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/project.rb
... ... @@ -427,6 +427,7 @@ class Project < ActiveRecord::Base
427 427 # However we cannot allow rollback since we moved repository
428 428 # So we basically we mute exceptions in next actions
429 429 begin
  430 + gitlab_shell.mv_repository("#{old_path_with_namespace}.wiki", "#{new_path_with_namespace}.wiki")
430 431 gitlab_shell.rm_satellites(old_path_with_namespace)
431 432 send_move_instructions
432 433 rescue
... ...