Commit graph

16 commits

Author SHA1 Message Date
gfyoung
265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
Douwe Maan
d170133bde Refactor changing files in web UI 2017-04-20 00:37:44 +00:00
Rémy Coutable
0950d92df5
Reduce duplication in Commits::{CherryPickService,RevertService}
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-15 16:30:27 +02:00
P.S.V.R
3d6ba3b107 Add support to cherry-pick any commit
Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/12785
Merge Request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3514
2016-04-18 15:39:07 +08:00
Rubén Dávila
cfb10c103f Check push permissions only when pushing directly to target branch. 2016-03-17 15:16:34 -05:00
Rubén Dávila
0c116d8ed6 Check for conflicts before creating target branch. 2016-03-01 19:16:27 -05:00
Rubén Dávila
169070ba4b Some updates from last code review. 2016-02-19 13:14:54 -05:00
Rubén Dávila
6908663479 Refactor RevertService. 2016-02-19 13:14:54 -05:00
Rubén Dávila
2ea5b37f2e Some fixes and refactors for code related to forks. 2016-02-19 13:14:53 -05:00
Rubén Dávila
11345866d8 Don't make Repository#revert aware of MRs. 2016-02-19 13:14:52 -05:00
Rubén Dávila
a28eef1d1a Update copy and URLs used when reverting MRs. 2016-02-19 13:14:52 -05:00
Rubén Dávila
e22cdb40ec Big refactor for #revert_commit.
* Now checking if a commit is already reverted or there is a conflict is
  much more faster.
* No longer need to create a new branch.
2016-02-19 13:14:51 -05:00
Rubén Dávila
6b0e478353 Some fixes required for conflicts on revert. 2016-02-19 13:14:51 -05:00
Rubén Dávila
91e6e32d13 Make it work for merge commits. 2016-02-19 13:14:51 -05:00
Rubén Dávila
b36319a17c Make MRs with revert commit work. 2016-02-19 13:14:50 -05:00
Rubén Dávila
8061399368 Add RevertService class with basic logic to revert commit 2016-02-19 13:14:50 -05:00