Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Fetch from Gerrit
Fetch from Gerrit [message #1259810] Fri, 28 February 2014 20:36 Go to next message
Greg Watson is currently offline Greg WatsonFriend
Messages: 115
Registered: July 2009
Senior Member
Hi,

I just updated my Eclipse 4.3 installation to SR2 (EGit 3.2.0.201312181205-r) and the Remote>Fetch From Gerrit... menu seems to have disappeared. I now have only have Remote>Fetch From...

Is this a "feature" of EGit 3.2? I much preferred having a specific menu. How do I configure to fetch from Gerrit now?
Re: Fetch from Gerrit [message #1259900 is a reply to message #1259810] Fri, 28 February 2014 22:58 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
- in the repositories view select the remote pointing to Gerrit
- click "Configure Gerrit..."
- usually the default is ok, otherwise adjust settings
- now gerrit menus should appear and changeid should be generated automatically for new commits
Re: Fetch from Gerrit [message #1259979 is a reply to message #1259900] Sat, 01 March 2014 00:58 Go to previous messageGo to next message
Greg Watson is currently offline Greg WatsonFriend
Messages: 115
Registered: July 2009
Senior Member
Ok, that worked. Thanks.
Re: Fetch from Gerrit [message #1290795 is a reply to message #1259900] Thu, 10 April 2014 12:47 Go to previous messageGo to next message
Georg Ragaller is currently offline Georg RagallerFriend
Messages: 3
Registered: April 2014
Junior Member
I used this primarily to fetch a specific patchset from refs/changes/**. Is there a viable alternative in EGit 3.2 (or higher) (perhaps I've not found it yet)?

I'm using the commandline now e.g.

git fetch git://git.eclipse.org/gitroot/jgit/jgit refs/changes/78/24678/1 && git checkout FETCH_HEAD


but I would prefer to use EGit instead.

Cheers,
Georg
Re: Fetch from Gerrit [message #1315488 is a reply to message #1290795] Sat, 26 April 2014 01:13 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
see https://wiki.eclipse.org/EGit/User_Guide#Fetching_a_change_from_a_Gerrit_Code_Review_Server
Re: Fetch from Gerrit [message #1320042 is a reply to message #1315488] Mon, 28 April 2014 14:56 Go to previous messageGo to next message
Georg Ragaller is currently offline Georg RagallerFriend
Messages: 3
Registered: April 2014
Junior Member
Hi Matthias,

thanks for replying, but that's exactly the dialog

https://wiki.eclipse.org/images/9/90/Egit-3.1-FetchChangeFromGerritDialog.png

I'm missing now (Kepler). I checked that with a clean eclipse-java-kepler-SR2-win32-x86_64 installation, which has

*** Features:
...
org.eclipse.egit (3.2.0.201312181205-r) "Git Team Provider"
org.eclipse.egit.mylyn (3.2.0.201312181205-r) "Git Team Provider"
...
org.eclipse.jgit (3.2.0.201312181205-r) "JGit Core"
...


installed.

After updating from http://download.eclipse.org/egit/updates
I get:

*** Features:
...
org.eclipse.egit (3.3.2.201404171909-r) "Git Team Provider"
org.eclipse.egit.mylyn (3.3.2.201404171909-r) "Git Team Provider"
org.eclipse.egit.source (3.3.2.201404171909-r) "Git Team Provider"
...
org.eclipse.jgit (3.3.2.201404171909-r) "JGit Core"
org.eclipse.jgit.http.apache (3.3.2.201404171909-r) "JGit Apache httpclient based HTTP support"
org.eclipse.jgit.java7 (3.3.2.201404171909-r) "JGit Core"
org.eclipse.jgit.pgm (3.3.2.201404171909-r) "JGit Command Line Interface"
...


And there's still no Fetch from Gerrit... dialog at the locations described in the help page you linked to in your post.

Any hints?

Cheers, Georg
Re: Fetch from Gerrit [message #1322555 is a reply to message #1320042] Tue, 29 April 2014 22:48 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
it's only visible if you did "Configure Gerrit...", as I said in my first comment in this thread
Also see the discussion in https://bugs.eclipse.org/bugs/show_bug.cgi?id=433439
Re: Fetch from Gerrit [message #1323120 is a reply to message #1322555] Wed, 30 April 2014 05:26 Go to previous message
Georg Ragaller is currently offline Georg RagallerFriend
Messages: 3
Registered: April 2014
Junior Member
Thanks for clarifying, I should have read your 1st comment more thoroughly.
Previous Topic:Troubles installing Egit
Next Topic:Saving .xml files on an EGit Android Project
Goto Forum:
  


Current Time: Fri Mar 29 11:09:17 GMT 2024

Powered by FUDForum. Page generated in 0.02614 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top