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
200e14e8
Commit
200e14e8
authored
Nov 28, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge_requests/base_service.rb conflict
parent
97968f31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
base_service.rb
app/services/merge_requests/base_service.rb
+0
-5
No files found.
app/services/merge_requests/base_service.rb
View file @
200e14e8
...
@@ -4,7 +4,6 @@ module MergeRequests
...
@@ -4,7 +4,6 @@ module MergeRequests
SystemNoteService
.
change_status
(
merge_request
,
merge_request
.
target_project
,
current_user
,
state
,
nil
)
SystemNoteService
.
change_status
(
merge_request
,
merge_request
.
target_project
,
current_user
,
state
,
nil
)
end
end
<<<<<<<
HEAD
def
create_title_change_note
(
issuable
,
old_title
)
def
create_title_change_note
(
issuable
,
old_title
)
removed_wip
=
MergeRequest
.
work_in_progress?
(
old_title
)
&&
!
issuable
.
work_in_progress?
removed_wip
=
MergeRequest
.
work_in_progress?
(
old_title
)
&&
!
issuable
.
work_in_progress?
added_wip
=
!
MergeRequest
.
work_in_progress?
(
old_title
)
&&
issuable
.
work_in_progress?
added_wip
=
!
MergeRequest
.
work_in_progress?
(
old_title
)
&&
issuable
.
work_in_progress?
...
@@ -21,10 +20,6 @@ module MergeRequests
...
@@ -21,10 +20,6 @@ module MergeRequests
def
hook_data
(
merge_request
,
action
,
old_rev:
nil
,
old_labels:
[],
old_assignees:
[])
def
hook_data
(
merge_request
,
action
,
old_rev:
nil
,
old_labels:
[],
old_assignees:
[])
hook_data
=
merge_request
.
to_hook_data
(
current_user
,
old_labels:
old_labels
,
old_assignees:
old_assignees
)
hook_data
=
merge_request
.
to_hook_data
(
current_user
,
old_labels:
old_labels
,
old_assignees:
old_assignees
)
=======
def
hook_data
(
merge_request
,
action
,
old_rev:
nil
,
old_labels:
[],
old_assignees:
[],
old_total_time_spent:
nil
)
hook_data
=
merge_request
.
to_hook_data
(
current_user
,
old_labels:
old_labels
,
old_assignees:
old_assignees
,
old_total_time_spent:
old_total_time_spent
)
>>>>>>>
c4d844f08b
...
Merge
branch
'issue_40374'
into
'master'
hook_data
[
:object_attributes
][
:action
]
=
action
hook_data
[
:object_attributes
][
:action
]
=
action
if
old_rev
&&
!
Gitlab
::
Git
.
blank_ref?
(
old_rev
)
if
old_rev
&&
!
Gitlab
::
Git
.
blank_ref?
(
old_rev
)
hook_data
[
:object_attributes
][
:oldrev
]
=
old_rev
hook_data
[
:object_attributes
][
:oldrev
]
=
old_rev
...
...
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