summaryrefslogtreecommitdiffstats
path: root/modules/convert/pull_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Move Repo APIFormat to convert package (#13787)65432020-12-021-1/+1
| | | | | * Move Repo APIFormat to convert package * tweek
* Display pull request head branch even the branch deleted or repository ↵Lunny Xiao2020-03-021-1/+9
| | | | | | | | | | | | | | | | 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>
* [BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo ↵65432020-01-311-0/+13
| | | | | | | | | | | | | | exist (#10029) * only try to get HeadBranch if HeadRepo exist * impruve * no nil error * add TEST * correct error msg
* Move pull request api convert to convert package (#9664)Lunny Xiao2020-01-101-0/+23
* Move pull request api convert to convert package * Rename ToPullRequest to ToAPIPullRequest