Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
592a48726717
Commit
c8fb9726
authored
Mar 25, 2015
by
Valery Sizov
Browse files
notification on project moving
parent
71c16ddb759f
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/services/projects/transfer_service.rb
View file @
592a4872
...
...
@@ -43,6 +43,9 @@ def transfer(project, new_namespace)
project
.
namespace
=
new_namespace
project
.
save!
# Notifications
project
.
send_move_instructions
# Move main repository
unless
gitlab_shell
.
mv_repository
(
old_path
,
new_path
)
raise
TransferError
.
new
(
'Cannot move project'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment