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
f0e55c26
Commit
f0e55c26
authored
Jul 26, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflicts from /duplicate quick action
parent
99b41743
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
13 deletions
+0
-13
app/helpers/system_note_helper.rb
app/helpers/system_note_helper.rb
+0
-4
app/services/system_note_service.rb
app/services/system_note_service.rb
+0
-3
spec/features/issues/user_uses_slash_commands_spec.rb
spec/features/issues/user_uses_slash_commands_spec.rb
+0
-3
spec/services/quick_actions/interpret_service_spec.rb
spec/services/quick_actions/interpret_service_spec.rb
+0
-3
No files found.
app/helpers/system_note_helper.rb
View file @
f0e55c26
...
...
@@ -19,15 +19,11 @@ module SystemNoteHelper
'discussion'
=>
'icon_comment_o'
,
'moved'
=>
'icon_arrow_circle_o_right'
,
'outdated'
=>
'icon_edit'
,
<<<<<<<
HEAD
'duplicate'
=>
'icon_clone'
,
'approved'
=>
'icon_check'
,
'unapproved'
=>
'icon_fa_close'
,
'relate'
=>
'icon_anchor'
,
'unrelate'
=>
'icon_anchor_broken'
=======
'duplicate'
=>
'icon_clone'
>>>>>>>
upstream
/
master
}.
freeze
def
icon_for_system_note
(
note
)
...
...
app/services/system_note_service.rb
View file @
f0e55c26
...
...
@@ -552,7 +552,6 @@ module SystemNoteService
create_note
(
NoteSummary
.
new
(
noteable
,
project
,
author
,
body
,
action:
'moved'
))
end
<<<<<<<
HEAD
#
# noteable - Noteable object
# noteable_ref - Referenced noteable object
...
...
@@ -607,8 +606,6 @@ module SystemNoteService
create_note
(
NoteSummary
.
new
(
noteable
,
noteable
.
project
,
user
,
body
,
action:
'unapproved'
))
end
=======
>>>>>>>
upstream
/
master
# Called when a Noteable has been marked as a duplicate of another Issue
#
# noteable - Noteable object
...
...
spec/features/issues/user_uses_slash_commands_spec.rb
View file @
f0e55c26
...
...
@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end
end
<<<<<<<
HEAD
describe
'adding a weight from a note'
do
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
...
...
@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end
end
=======
>>>>>>>
upstream
/
master
describe
'mark issue as duplicate'
do
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let
(
:original_issue
)
{
create
(
:issue
,
project:
project
)
}
...
...
spec/services/quick_actions/interpret_service_spec.rb
View file @
f0e55c26
...
...
@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do
end
end
<<<<<<<
HEAD
shared_examples
'weight command'
do
it
'populates weight: 5 if content contains /weight 5'
do
_
,
updates
=
service
.
execute
(
content
,
issuable
)
...
...
@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do
end
end
=======
>>>>>>>
upstream
/
master
shared_examples
'duplicate command'
do
it
'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference'
do
issue_duplicate
# populate the issue
...
...
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