Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
f7eca916
Commit
f7eca916
authored
May 10, 2018
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include project.full_path when moving repo
This is especially helpful when hashed storage is enabled
parent
93498185
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/projects/destroy_service.rb
app/services/projects/destroy_service.rb
+1
-1
No files found.
app/services/projects/destroy_service.rb
View file @
f7eca916
...
@@ -87,7 +87,7 @@ module Projects
...
@@ -87,7 +87,7 @@ module Projects
new_path
=
removal_path
(
path
)
new_path
=
removal_path
(
path
)
if
mv_repository
(
path
,
new_path
)
if
mv_repository
(
path
,
new_path
)
log_info
(
"Repository
\"
#{
path
}
\"
moved to
\"
#{
new_path
}
\"
"
)
log_info
(
%Q{Repository "
#{
path
}
" moved to "
#{
new_path
}
" for project "
#{
project
.
full_path
}
"}
)
project
.
run_after_commit
do
project
.
run_after_commit
do
# self is now project
# self is now 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