forked from gitea/gitea
1
0
Fork 0
gitea/services/repository
Lunny Xiao 16f7b43903
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) (#9974)
* 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>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-25 17:39:53 +08:00
..
generate.go Add avatar and issue labels to template repositories (#9149) 2019-11-25 13:17:51 +08:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
repository.go Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) (#9974) 2020-01-25 17:39:53 +08:00
transfer.go Move repoWorkPool outside rename/transfer repository (#9086) 2019-12-06 12:00:50 +08:00
transfer_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00