Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332946 - Egit 0.10: Failed checkout leaves locked index...
Summary: Egit 0.10: Failed checkout leaves locked index...
Status: RESOLVED INVALID
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 09:22 EST by Daniel Stein CLA
Modified: 2013-04-27 06:07 EDT (History)
2 users (show)

See Also:


Attachments
screen1 (8.06 KB, image/png)
2010-12-20 09:23 EST, Daniel Stein CLA
no flags Details
screen2 (3.67 KB, image/png)
2010-12-20 09:24 EST, Daniel Stein CLA
no flags Details
screen3 (3.62 KB, image/png)
2010-12-20 09:24 EST, Daniel Stein CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Stein CLA 2010-12-20 09:22:47 EST
Build Identifier: 20100917-0705

Accidently I tried to switch to another branch while my RCP-App was still running in debug mode. The checkout failed with an message saying: Could not replace myjar.jar. Afterwards I retried the checkout but it fails with the error message shown in the first screenshot. 
Then i did an git status on the command line. The result was an working-dir with lots of modified files, and an untracked file named like the jar-file mentioned above (screen 2).
I then tried an git checkout -f to clean up my working dir but git didn't allow this (screen 3). 

I deleted the index.lock file manually and then the checkout -f worked and i was able to continue my work.


Reproducible: Always
Comment 1 Daniel Stein CLA 2010-12-20 09:23:40 EST
Created attachment 185538 [details]
screen1
Comment 2 Daniel Stein CLA 2010-12-20 09:24:02 EST
Created attachment 185539 [details]
screen2
Comment 3 Daniel Stein CLA 2010-12-20 09:24:19 EST
Created attachment 185540 [details]
screen3
Comment 4 Robin Rosenberg CLA 2013-01-01 18:14:58 EST
Is this still valid?
Comment 5 Robin Rosenberg CLA 2013-04-27 06:07:00 EDT
most likely fixed, won't investigate