English 中文(简体)
Wipe SVN to reinitialise
原标题:
  • 时间:2009-11-11 10:03:52
  •  标签:
  • svn
  • restart

Does anybody know how to delete the complete svn repository including old revisions? I just want to start again ;)

Thanks, wishi

最佳回答

As the others have stated, to remove a complete repository remove the folder that contains it.

This seems a bit to straightforward though which makes me think that maybe you want to do that without access to the filesystem on the server where the repository is hosted? If thats the case, what you want to do cant be done.

SVN are working on a new obliterate command (which removes entire revisions as Ive understood it) that might be able to do something close to what you want. But that command isnt in the stable releases yet.

问题回答

Supposing you use linux and the repository (not the workspace) lies in /home/svn/repo

rm -rf /home/svn/repo

Basically just delete the folder which holds the actual repository files.

just create a new repository and delete the old one.

Just delete your svn repos dir and roll a new one. You might want to export your source tree beforehand. If you forget this, just delete every .svn directory inside your current checkout.





相关问题
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 ...

热门标签