Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
* Display pull request head branch even the branch deleted or repository deleted

* Merge getHeadRepo/loadHeadRepo and getBaseRepo/loadBaseRepo on pull and fill repo when pr.Issue.Repo is available

* retrieve sha from pull head when pull request branch deleted and fix tests

* Fix test

* Ensure MustHeadRepoName returns empty string if no head repo

Co-authored-by: zeripath <art27@cantab.net>
2020-03-02 22:31:55 +00:00
..
2020-01-13 18:33:46 +01:00
2020-02-27 20:10:27 -03:00
2019-08-23 12:40:29 -04:00
2020-02-27 20:10:27 -03:00
2020-02-27 20:10:27 -03:00
2019-12-27 20:30:58 +00:00
2019-12-15 16:57:34 -05:00
2020-01-13 18:33:46 +01:00
2020-01-13 18:33:46 +01:00
2020-02-19 10:46:14 -05:00
2020-01-24 14:00:29 -05:00
2020-03-02 00:05:44 +02:00
2019-08-23 12:40:29 -04:00
2020-01-13 18:33:46 +01:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00
2020-03-02 00:05:44 +02:00
2020-02-12 08:48:28 +00:00