0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 07:35:44 +01:00
gitea/services/pull
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259)
Fix #26129
Replace #26258 

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-10 02:39:21 +00:00
..
check_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
check.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
comment.go Delete issue_service.CreateComment (#26298) 2023-08-04 13:34:34 +00:00
commit_status.go Fix pull request check list is limited (#26179) 2023-07-31 02:21:09 +00:00
edits.go
lfs.go
main_test.go
merge_merge.go
merge_prepare.go
merge_rebase.go
merge_squash.go
merge_test.go
merge.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
patch_unmerged.go
patch.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
pull_test.go
pull.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
review.go Delete issue_service.CreateComment (#26298) 2023-08-04 13:34:34 +00:00
temp_repo.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
update_rebase.go
update.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00