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
f3185151
Commit
f3185151
authored
Feb 28, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CE->EE Conflict resolving
parent
d93d3c81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
16 deletions
+3
-16
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+3
-8
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+0
-5
lib/api/services.rb
lib/api/services.rb
+0
-3
No files found.
app/controllers/projects/merge_requests_controller.rb
View file @
f3185151
...
...
@@ -310,20 +310,15 @@ class Projects::MergeRequestsController < Projects::ApplicationController
if
@merge_request
.
valid?
redirect_to
([
@merge_request
.
target_project
.
namespace
.
becomes
(
Namespace
),
@merge_request
.
target_project
,
@merge_request
])
else
set_suggested_approvers
render
:edit
end
end
<<<<<<<
HEAD
else
set_suggested_approvers
render
"edit"
=======
format
.
json
do
render
json:
@merge_request
.
to_json
(
include:
{
milestone:
{},
assignee:
{
methods: :avatar_url
},
labels:
{
methods: :text_color
}
},
methods:
[
:task_status
,
:task_status_short
])
end
>>>>>>>
7733
f285aca97d444382a59eda0ea3e303539c26
end
rescue
ActiveRecord
::
StaleObjectError
render_conflict_response
...
...
app/views/shared/issuable/_search_bar.html.haml
View file @
f3185151
...
...
@@ -82,7 +82,6 @@
%span
.dropdown-label-box
{
style:
'
background:
{{
color
}}
'
}
%span
.label-title.js-data-value
{{title}}
<
<<<<<<
HEAD
-
if
type
==
:issues
#js-dropdown-weight
.dropdown-menu
{
data:
{
icon:
'balance-scale'
,
hint:
'weight'
,
tag:
'weight'
}
}
%ul
{
'data-dropdown'
=>
true
}
...
...
@@ -98,12 +97,8 @@
%li
.filter-dropdown-item
{
'data-value'
=>
"#{weight}"
}
%button
.btn.btn-link
=
weight
.pull-right
=
render
'shared/sort_dropdown'
,
type:
local_assigns
[
:type
]
==
=====
.pull-right.filter-dropdown-container
=
render
'shared/sort_dropdown'
>
>>>>>> 7733f285aca97d444382a59eda0ea3e303539c26
-
if
@bulk_edit
.issues_bulk_update.hide
...
...
lib/api/services.rb
View file @
f3185151
...
...
@@ -609,11 +609,8 @@ module API
SlackService
,
MattermostService
,
TeamcityService
,
<<<<<<<
HEAD
JenkinsService
,
JenkinsDeprecatedService
=======
>>>>>>>
7733
f285aca97d444382a59eda0ea3e303539c26
]
if
Rails
.
env
.
development?
...
...
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