BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
project_transfer_service.rb
app/services/project_transfer_service.rb
+1
-1
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