Commit d2aa48c0d5e49309b14baa5f2f792af945e74bb3
1 parent
79b76d2c
Exists in
master
and in
4 other branches
Recreate project satellite on rename or transfer
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
app/models/project.rb
... | ... | @@ -421,6 +421,7 @@ class Project < ActiveRecord::Base |
421 | 421 | begin |
422 | 422 | gitlab_shell.mv_repository("#{old_path_with_namespace}.wiki", "#{new_path_with_namespace}.wiki") |
423 | 423 | gitlab_shell.rm_satellites(old_path_with_namespace) |
424 | + ensure_satellite_exists | |
424 | 425 | send_move_instructions |
425 | 426 | rescue |
426 | 427 | # Returning false does not rollback after_* transaction but gives | ... | ... |
app/services/project_transfer_service.rb