Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Rebase interactive reordering commits: Wrong repository state: SAFE
Rebase interactive reordering commits: Wrong repository state: SAFE [message #1402837] Thu, 17 July 2014 17:48 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
Hi,

I just did a rebase interactive and at the end got a few error messages,
Wrong repository state: SAFE, see screenshot here:

http://imgur.com/Y70RB0s

While the message sounds scary, the rebase itself went fine. Any idea
about why that happened?

I use EGit 3.4.0 with Luna.

Felix
Re: Rebase interactive reordering commits: Wrong repository state: SAFE [message #1402917 is a reply to message #1402837] Fri, 18 July 2014 10:53 Go to previous message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 274
Registered: July 2009
Senior Member
Looks like jgit is not determining the repository state correctly. That logic is in [1]. Is your situation reproduceable with a repo which publicly available? Which files exist in your .git/rebase-apply folder when you see the error message (e.g. "find <prj-root>/.git/rebase-apply")

[1] https://git.eclipse.org/c/jgit/jgit.git/tree/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java?id=e0fbae5dc3fc2345383ec373b384fcca10e64f24#n1068


Ciao
Chris
Previous Topic:Team -> Import Project Set fails with "Invalid project description..."
Next Topic:WorkDir dirty after merge
Goto Forum:
  


Current Time: Fri Apr 26 09:15:54 GMT 2024

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

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

Back to the top