質問

I use eclipse with subversion in Ubuntu linux. Today I made some new java class files and edited old one (those classes are connected). I tried to update, but there were some conflicts. So i did "update and commit" to those NEW made java files and now I can't find them anymore. They are not even in folder where my project is. How can I recover them? There were too much work made to do again Thanks

役に立ちましたか?

解決

If these are really new files and you did not yet commit them there might be no chance to restore them from SVN. SVN keeps only track of commited files.

But Eclipse has a local history. You can try this one.

Just select the folder the files were in and right click, then choose "Restore from Local History"

他のヒント

You could revert your changes using SVN. Theres a great article about it from Aral Balkan you can read right here: http://aralbalkan.com/1381

Shai

You can use eclipse or tortoiseSVN to check out an earlier revision of the project.

I use subclipse, I think there is a revision number field somewhere in the wizard when importing a project from SVN.

On windows, in Tortoise SVN the files that are deleted get moved to the recycle bin by default. Does then linux version have a similar setting?

enter image description here

however

Since your using eclipse. This is probably a better answer Is there a way to recover from an accidental "svn revert"?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top