gitea/services/pull
Lunny Xiao 368e9e0f1b
Add transaction when creating pull request created dirty data (#26259) (#26437)
Backport #26259 

This PR will introduce a transaction on creating pull request so that if
some step failed, it will rollback totally. And there will be no dirty
pull request exist.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-11 05:27:23 +00:00
..
check_test.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
check.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
comment.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
commit_status.go Fix pull request check list is limited (#26179) (#26245) 2023-07-31 08:56:46 +00:00
edits.go
lfs.go Refactor and tidy-up the merge/update branch code (#22568) 2023-03-07 15:07:35 -05:00
main_test.go
merge_merge.go Refactor and tidy-up the merge/update branch code (#22568) 2023-03-07 15:07:35 -05:00
merge_prepare.go Refactor merge/update git command calls (#23366) 2023-03-09 09:48:52 -06:00
merge_rebase.go Merge message template support for rebase without merge commit (#22669) 2023-05-22 09:01:46 +08:00
merge_squash.go Improve squash merge commit author and co-author with private emails (#22977) 2023-03-09 22:17:04 -05:00
merge_test.go
merge.go Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) (#25809) 2023-07-10 10:23:54 +00:00
patch_unmerged.go
patch.go Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
pull_test.go
pull.go Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
review.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-27 10:36:54 +08:00
temp_repo.go Refactor and tidy-up the merge/update branch code (#22568) 2023-03-07 15:07:35 -05:00
update_rebase.go Refactor and tidy-up the merge/update branch code (#22568) 2023-03-07 15:07:35 -05:00
update.go Refactor and tidy-up the merge/update branch code (#22568) 2023-03-07 15:07:35 -05:00