Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Pull and MERGE_RESOLVED Questions
icon9.gif  Pull and MERGE_RESOLVED Questions [message #983295] Tue, 13 November 2012 20:51 Go to next message
Cesar Casasola is currently offline Cesar CasasolaFriend
Messages: 3
Registered: November 2012
Junior Member
I just did the following flow to bring latest changes from server repository

Fetch -> Pull -> Resolve clonflicts manually -> Add to Index -> Commit

So far no problem. EGit work finw.

Now, when I try to bring latest changes get the following error:

Cannot pull into a repository with state: MERGING_RESOLVED

Did I do something wrong?
Re: Pull and MERGE_RESOLVED Questions [message #985793 is a reply to message #983295] Fri, 16 November 2012 08:22 Go to previous messageGo to next message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
From your description everything sounds fine - except that you would not need the fetch step or you could do just a merge instead of a pull.

Which version of EGit do you use? There was a bug when the merge commit turned out to be empty, i.e. having no diff after resolving the conflicts: https://bugs.eclipse.org/bugs/show_bug.cgi?id=385924. It was fixed in August and is available with egit 2.1.
Re: Pull and MERGE_RESOLVED Questions [message #986058 is a reply to message #985793] Sat, 17 November 2012 22:39 Go to previous messageGo to next message
Cesar Casasola is currently offline Cesar CasasolaFriend
Messages: 3
Registered: November 2012
Junior Member
Stefan Lay wrote on Fri, 16 November 2012 03:22
From your description everything sounds fine - except that you would not need the fetch step or you could do just a merge instead of a pull.

Which version of EGit do you use? There was a bug when the merge commit turned out to be empty, i.e. having no diff after resolving the conflicts: https://bugs.eclipse.org/bugs/show_bug.cgi?id=385924. It was fixed in August and is available with egit 2.1.


I forgot to mention that I use fetch before pull.... I can't pull after fetch because according to EGit my repository was in MERGE_RESOLVED
Re: Pull and MERGE_RESOLVED Questions [message #986309 is a reply to message #983295] Mon, 19 November 2012 20:31 Go to previous messageGo to next message
Cesar Casasola is currently offline Cesar CasasolaFriend
Messages: 3
Registered: November 2012
Junior Member
Many times I get this error when I try merge two branch with same parent

Cannot cherry-pick commit 'a3b282d1248d771eb776ee7baa8b874d9e9d1e19' because it has 2 parents, only commits with exactly one parent are supported.

Re: Pull and MERGE_RESOLVED Questions [message #987049 is a reply to message #986309] Fri, 23 November 2012 08:09 Go to previous message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
A merge commit cannot be cherry-picked. This is a missing feature which is tracked in https://bugs.eclipse.org/bugs/show_bug.cgi?id=379007.
Previous Topic:Any way to launch a three-way merge with EGit?
Next Topic:Push and Pull errors
Goto Forum:
  


Current Time: Fri Apr 26 12:14:18 GMT 2024

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

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

Back to the top