0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/services/issue
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
..
assignee.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
assignee_test.go
comments.go Delete issue_service.CreateComment (#26298) 2023-08-04 13:34:34 +00:00
commit.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
commit_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
content.go
issue.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
issue_test.go
label.go
label_test.go
main_test.go
milestone.go
milestone_test.go
status.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
template.go