If I migrated to gerrit a repo not fully created (GIT_REPO_UPDATE not done), I got the following error:
gerrit: Command execution failure: git --work-tree='/var/lib/codendi/gitolite/repositories/project/tomigrate.git' --git-dir='/var/lib/codendi/gitolite/repositories/project/tomigrate.git' push 'ext::ssh -p 29418 -i /home/codendiadm/.ssh/id_rsa-gerrit
admin-gerrit@url %S tproject/tomigrate' refs/heads/*:refs/heads/* (return value: 128):
fatal: Not a git repository: '/var/lib/codendi/gitolite/repositories/project/tomigrate.git'