如何返回被Subversion删除的非版本文件夹?

时间:2023-01-26 15:15:24

I use linux OS. I was working on a local copy of folder : test_scripts. This was not version-ed in SVN. As I wanted to checkinto SVN, I made entry:

我使用linux操作系统。我正在处理文件夹的本地副本:test_scripts。这在SVN中没有版本控制。当我想登记SVN时,我做了一个入口:

cd to my local folder:

cd到我的本地文件夹:

# svn add test_scripts

Then realized it made entry to some of unwanted files inside test_script folder. I deleted those files on my local, & tried to commit. Commit failed as there was change in local copy. So I thought of deleting the entry in svn for the folder test_script to redo fresh. so I used:

然后意识到它进入了test_script文件夹中一些不需要的文件。我删除了本地的那些文件,并试图提交。提交失败,因为本地副本中有更改。所以我想删除svn中的条目,以便test_script重新执行。所以我使用:

# svn --force delete test_scripts/

This deleted my local copy too! :-(

这也删除了我的本地副本!:-(

I have no back up & all my work is gone..

我没有备份,所有的工作都没有了。

Please can some one help me how to get back deleted local file in linux. Its very important !..

请有人能帮我如何回到被删除的本地文件在linux。它的非常重要! . .

1 个解决方案

#1


2  

The simple answer is "you can't", unfortunately.

很不幸,简单的回答是“你不能”。

There are tools which might try to help you provided your filesystem has plenty of free space and received low write activity since you've deleted that directory.

有一些工具可以帮助您提供文件系统有大量的空闲空间,并且由于您已经删除了该目录,所以会收到低写活动。

Google for "ext2+undelete", and it will bring you a couple of tools like TestDisk, e2undel etc.

谷歌表示“ext2+undelete”,它将为您带来TestDisk、e2undel等工具。

#1


2  

The simple answer is "you can't", unfortunately.

很不幸,简单的回答是“你不能”。

There are tools which might try to help you provided your filesystem has plenty of free space and received low write activity since you've deleted that directory.

有一些工具可以帮助您提供文件系统有大量的空闲空间,并且由于您已经删除了该目录,所以会收到低写活动。

Google for "ext2+undelete", and it will bring you a couple of tools like TestDisk, e2undel etc.

谷歌表示“ext2+undelete”,它将为您带来TestDisk、e2undel等工具。