0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -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 Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
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 Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
label.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
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 Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00