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
075b56aa
Commit
075b56aa
authored
Mar 29, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes after doing more manual testing on importing
parent
c93570d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lib/gitlab/bitbucket_import/project_creator.rb
lib/gitlab/bitbucket_import/project_creator.rb
+2
-1
lib/gitlab/fogbugz_import/project_creator.rb
lib/gitlab/fogbugz_import/project_creator.rb
+2
-1
No files found.
lib/gitlab/bitbucket_import/project_creator.rb
View file @
075b56aa
...
@@ -24,7 +24,8 @@ module Gitlab
...
@@ -24,7 +24,8 @@ module Gitlab
).
execute
).
execute
import_data
=
project
.
import_data
import_data
=
project
.
import_data
import_data
.
credentials
.
merge!
(
"bb_session"
=>
session_data
)
# merge! with a bang doesn't work here
import_data
.
credentials
=
import_data
.
credentials
.
merge
(
"bb_session"
=>
session_data
)
import_data
.
save
import_data
.
save
project
project
...
...
lib/gitlab/fogbugz_import/project_creator.rb
View file @
075b56aa
...
@@ -25,7 +25,8 @@ module Gitlab
...
@@ -25,7 +25,8 @@ module Gitlab
).
execute
).
execute
import_data
=
project
.
import_data
import_data
=
project
.
import_data
import_data
.
credentials
.
merge!
(
'fb_session'
=>
fb_session
)
# merge! with a bang doesn't work here
import_data
.
credentials
=
import_data
.
credentials
.
merge
(
'fb_session'
=>
fb_session
)
import_data
.
data
=
{
'repo'
=>
repo
.
raw_data
,
'user_map'
=>
user_map
}
import_data
.
data
=
{
'repo'
=>
repo
.
raw_data
,
'user_map'
=>
user_map
}
import_data
.
save
import_data
.
save
...
...
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