gitea/services/pull
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927)
* fix pull view when head repository or head branch missed and close related pull requests when delete branch

* fix pull view broken when head repository deleted

* close pull requests when head repositories deleted

* Add tests for broken pull request head repository or branch

* fix typo

* ignore special error when close pull request

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-25 10:48:22 +08:00
..
check.go [refactor] notify remove unused praram (#9804) 2020-01-16 17:24:20 +01:00
check_test.go Move some pull request functions from models to services (#9266) 2019-12-06 21:44:10 -05:00
commit_status.go Fix wrong hint when status checking is running on pull request view (#9886) 2020-01-22 11:46:04 +08:00
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
main_test.go Move some pull request functions from models to services (#9266) 2019-12-06 21:44:10 -05:00
merge.go Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
patch.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
pull.go Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 2020-01-25 10:48:22 +08:00
pull_test.go Move PushToBaseRepo from models to services/pull (#9352) 2019-12-15 04:28:51 +01:00
review.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 2020-01-09 01:47:45 +00:00
temp_repo.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
update.go Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00