Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
0995d35bc792
Commit
0995d35b
authored
Aug 20, 2013
by
Dmitriy Zaporozhets
Browse files
Rename wiki repo if project repo was removed
parent
fc3b0957e99d
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
0995d35b
...
...
@@ -427,6 +427,7 @@
# However we cannot allow rollback since we moved repository
# So we basically we mute exceptions in next actions
begin
gitlab_shell
.
mv_repository
(
"
#{
old_path_with_namespace
}
.wiki"
,
"
#{
new_path_with_namespace
}
.wiki"
)
gitlab_shell
.
rm_satellites
(
old_path_with_namespace
)
send_move_instructions
rescue
...
...
Write
Preview
Supports
Markdown
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