开发者

How do I restore a repo when I only have the source folder?

There was an a开发者_JS百科ccident and I lost my SVN repo directory, though my source folder and all the .svn folders within it are fine. How would I restore the repo using the source folder?

I ran $ svnadmin create /path/to/repo - now what?

Thanks


How would I restore the repo using the source folder?

You can't. SVN keeps the history only in the repository, your working folder is just a snapshot. If you don't have any backups of your repository, the history is gone.

What you can do is to create a new repository and import your working folder there. (Be sure to not to attempt to import the .svn folders.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜