203
203
base_url, _ = urlutils.split_segment_parameters(url)
204
204
return HeadUpdateFailed(base_url)
205
205
if message.startswith('access denied or repository not exported:'):
208
208
if message.endswith('You are not allowed to push code to this project.'):
209
209
return PermissionDenied(url, message)
210
210
if message.endswith(' does not appear to be a git repository'):