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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
70fc1c50
Commit
70fc1c50
authored
Mar 12, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup ProjectMover
parent
f1c24f40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/project_transfer_service.rb
app/services/project_transfer_service.rb
+1
-1
lib/tasks/gitlab/enable_namespaces.rake
lib/tasks/gitlab/enable_namespaces.rake
+1
-1
No files found.
app/services/project_transfer_service.rb
View file @
70fc1c50
...
...
@@ -25,7 +25,7 @@ class ProjectTransferService
true
end
rescue
Gitlab
::
ProjectMover
::
ProjectMoveError
=>
ex
rescue
=>
ex
raise
Project
::
TransferError
.
new
(
ex
.
message
)
end
end
...
...
lib/tasks/gitlab/enable_namespaces.rake
View file @
70fc1c50
...
...
@@ -99,7 +99,7 @@ namespace :gitlab do
end
begin
Gitlab
::
ProjectMover
.
new
(
project
,
''
,
group
.
path
).
execute
project
.
transfer
(
group
.
path
)
puts
"moved to
#{
new_path
}
"
.
green
rescue
puts
"failed moving to
#{
new_path
}
"
.
red
...
...
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