English 中文(简体)
Restoring Data from Subversion repository (Original data deleted)
原标题:

I guess, i couldnt find solution to this problem. The partition of my hard drive containing the source codes is corrupted, however I still do have one partition intact containing the SVN repository of that source code. Can anyone suggest me if I can retrieve whole data (my commited source code) from the repository alone?

Regards Varun

最佳回答

Simply checkout from your repository, and you ll get the complete source you last checked-in. Create a new directory, execute the following command:

$ svn checkout <repository url>

And you ll get a fresh new copy.

问题回答

Yes, you can get all of your source code back if the repository is intact. FIRST, BACK IT UP. Then, you should be able to do a checkout from the repository, and you will have your latest committed source code back.





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签