Hi
I think I had similar issues. For the solution was to use the following repository URL: ssh://<commiterId>@git.eclipse.org:29418/cdt/org.eclipse.cdt.git
Instead of https://git.eclipse.org/r/p/cdt/org.eclipse.cdt.git
I'm not sure about the distinction of those two repositories. As I am not a commiter and the first URL requires the commiterId I first tried the https URL. Which resulted in the problem you are encountering
as well. When trying the first ssh URL putting my gerrit login name as <commiterId> it worked.
Hope this is correct and works for you as well.
Regards,
Thomas
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Elmenthaler, Jens
Sent: Donnerstag, 30. August 2012 22:33
To: CDT General developers list. (cdt-dev@xxxxxxxxxxx)
Subject: [cdt-dev] cannot push to CDT gerrit
I followed the instructions in the CDT Wiki (http://wiki.eclipse.org/CDT/git#Using_Gerrit_for_CDT),
but when it comes to pushing the commit to gerrit, it get the following error (see the attachment for a screen shot):
Cannot get remote repository refs.
Reason:
https://git.eclipse.org/r/p/cdt/org.eclipse.cdt.git: cannot open git-upload-pack
Google doesn’t yield anything helpful, any ideas from the CDT community?