forgejo/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.go
check_test.go
comment.go
commit_status.go
edits.go
lfs.go
main_test.go
merge.go
merge_merge.go
merge_prepare.go
merge_rebase.go
merge_squash.go
merge_test.go
patch.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
patch_unmerged.go
pull.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
pull_test.go
review.go
temp_repo.go
update.go
update_rebase.go