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
23dfc5d6
Commit
23dfc5d6
authored
Aug 09, 2019
by
George Koltsov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add code review suggestions
parent
ba429a6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/gitlab/bitbucket_import/importer.rb
lib/gitlab/bitbucket_import/importer.rb
+4
-4
No files found.
lib/gitlab/bitbucket_import/importer.rb
View file @
23dfc5d6
...
...
@@ -262,17 +262,17 @@ module Gitlab
def
pull_request_comment_attributes
(
comment
)
{
project:
project
,
note:
comment_note
(
comment
),
author_id:
gitlab_user_id
(
project
,
comment
.
author
),
note:
comment_note
(
comment
),
created_at:
comment
.
created_at
,
updated_at:
comment
.
updated_at
}
end
def
comment_note
(
comment
)
note
=
''
note
+=
@formatter
.
author_line
(
comment
.
author
)
unless
find_user_id
(
comment
.
author
)
note
+
comment
.
note
author
=
@formatter
.
author_line
(
comment
.
author
)
unless
find_user_id
(
comment
.
author
)
author
.
to_s
+
comment
.
note
.
to_s
end
def
log_error
(
details
)
...
...
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