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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fdb230f5
Commit
fdb230f5
authored
Nov 24, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve naming for consistency
This aligns the naming between transfering projects and groups.
parent
e4445e69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/services/projects/transfer_service.rb
app/services/projects/transfer_service.rb
+2
-2
No files found.
app/services/projects/transfer_service.rb
View file @
fdb230f5
...
...
@@ -59,7 +59,7 @@ module Projects
raise
TransferError
.
new
(
s_
(
"TransferProject|Root namespace can't be updated if project has NPM packages"
))
end
attempt_transfer_transaction
proceed_to_transfer
end
# rubocop: enable CodeReuse/ActiveRecord
...
...
@@ -67,7 +67,7 @@ module Projects
new_namespace
.
root_ancestor
==
project
.
namespace
.
root_ancestor
end
def
attempt_transfer_transaction
def
proceed_to_transfer
Project
.
transaction
do
project
.
expire_caches_before_rename
(
@old_path
)
...
...
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