Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345712

Summary: EGit doesn't respect 'Configure Push to Gerrit Code Review' selection when cloning repository
Product: [Technology] EGit Reporter: Håkon orentzen <hakonlo>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, rickard.von.essen
Version: 0.12   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Håkon orentzen CLA 2011-05-13 05:59:48 EDT
Build Identifier:  20110218-0911

We have a Gerrit server with direct Push Branch rights for all developers, i.e., we don't want to use code review (yet).

To import the project into Eclipse, I go through the steps Import... -> Projects from Git -> Clone... -> Source Git Repository -> Branch Selection -> Local Destination. If I press 'Finish' here, everything works as expected, i.e., 'Push to upstream' pushes directly to Git. However, if I press 'Next' to get to 'Gerrit Configuration', the remote is set up to push from HEAD to refs/for/master, regardless of whether I check "Configure Push to Gerrit Code Review" or not.

Reproducible: Always
Comment 1 Matthias Sohn CLA 2011-08-31 08:14:09 EDT

*** This bug has been marked as a duplicate of bug 346806 ***