* Handle more pathological branch and tag names
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix failing test
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
log.Error("Unable to fetch origin base branch [%s:%s -> base, original_base in %s]: %v:\n%s\n%s",pr.BaseRepo.FullName(),pr.BaseBranch,tmpBasePath,err,outbuf.String(),errbuf.String())
log.Error("Unable to fetch origin base branch [%s:%s -> base, original_base in %s]: %v:\n%s\n%s",pr.BaseRepo.FullName(),pr.BaseBranch,tmpBasePath,err,outbuf.String(),errbuf.String())
log.Error("Unable to fetch head_repo head branch [%s:%s -> tracking in %s]: %v:\n%s\n%s",pr.HeadRepo.FullName(),pr.HeadBranch,tmpBasePath,err,outbuf.String(),errbuf.String())
log.Error("Unable to fetch head_repo head branch [%s:%s -> tracking in %s]: %v:\n%s\n%s",pr.HeadRepo.FullName(),pr.HeadBranch,tmpBasePath,err,outbuf.String(),errbuf.String())