Commit graph

13 commits

Author SHA1 Message Date
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