I found the problem by going through Python code. Repo does not like repository URLs that start with ssh: //. It accepts only http, https or sso.
The culprit was git_config.py, ReviewUrl ().
Maybe I was working with a damaged repo manifest.
Working time was manually pushing through git:
git push origin HEAD:refs/for/project/foo
source
share