bash-4.1$ git push gerrit refs/notes/commits
Counting objects: 105, done.
Delta compression using up to 24 threads.
Compressing objects: 100% (80/80), done.
Writing objects: 100% (105/105), 10.55 KiB, done.
Total 105 (delta 33), reused 0 (delta 0)
remote: Resolving deltas: 100% (33/33)
remote: Processing changes: refs: 1, done
To ssh://<user_account>@<host>:8282/<project>
! [remote rejected] refs/notes/commits -> refs/notes/commits (prohibited by Gerrit)
error: failed to push some refs to ''ssh://<user_account>@<host>:8282/<project>
And in addition to that, we did sync a svn repo to git using subgit.
-bash-4.1$ ls
branches config db HEAD hooks logs objects refs subgit svn
We want to see want to see svn revision in git log. So did
-bash-4.1$ git update-ref refs/notes/commits refs/svn/map
Then want to push refs/notes/commits to gerrit, so others could fetch it after clone the project.
Then the above error happened when push.
Please suggest.
Regards
Ashwini