mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 17:24:22 +00:00 
			
		
		
		
	work on #1818
This commit is contained in:
		@@ -310,7 +310,7 @@ func (err ErrIssueNotExist) Error() string {
 | 
			
		||||
 | 
			
		||||
type ErrPullRequestNotExist struct {
 | 
			
		||||
	ID         int64
 | 
			
		||||
	PullID     int64
 | 
			
		||||
	IssueID    int64
 | 
			
		||||
	HeadRepoID int64
 | 
			
		||||
	BaseRepoID int64
 | 
			
		||||
	HeadBarcnh string
 | 
			
		||||
@@ -323,8 +323,8 @@ func IsErrPullRequestNotExist(err error) bool {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (err ErrPullRequestNotExist) Error() string {
 | 
			
		||||
	return fmt.Sprintf("pull request does not exist [id: %d, pull_id: %d, head_repo_id: %d, base_repo_id: %d, head_branch: %s, base_branch: %s]",
 | 
			
		||||
		err.ID, err.PullID, err.HeadRepoID, err.BaseRepoID, err.HeadBarcnh, err.BaseBranch)
 | 
			
		||||
	return fmt.Sprintf("pull request does not exist [id: %d, issue_id: %d, head_repo_id: %d, base_repo_id: %d, head_branch: %s, base_branch: %s]",
 | 
			
		||||
		err.ID, err.IssueID, err.HeadRepoID, err.BaseRepoID, err.HeadBarcnh, err.BaseBranch)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// _________                                       __
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user