Restore deleted project from local history?

I just accidentally deleted my whole project folder... :(
Is there some way I can use the local history to restore it?

Since I don't even have the .ipr file, do I get the same local history repository if I create a new project in the same folder, or will that mess up the .IntelliJIdea7.0/system/LocalHistory/[my-project][some-hex-code]-directory?

Any help would be appreciated,

/Jörgen Lundberg

2 comments

Hello Jörgen,

I just accidentally deleted my whole project folder... :( Is there
some way I can use the local history to restore it?

Since I don't even have the .ipr file, do I get the same local history
repository if I create a new project in the same folder, or will that
mess up the
.IntelliJIdea7.0/system/LocalHistory/[my-project][some-hex-code]-direc
tory?


You should get the same local history if you create a project with the same
name in the same folder.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks for the quick reply!
I created a new project with the same name in the same directory but it did not work. Perhaps because the project directory was not empty...

Anyway, now I have managed to delete my copy of the local history I made before trying to recreate the project. I should probably get some sleep... :)
It shouldn't take too long to write down the code I've lost.

/Jörgen

0

Please sign in to leave a comment.