[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Wiping out all Subversion information?

From: Olivier Dagenais <olivier.dagenais_at_formark.com>
Date: 2007-05-04 18:09:34 CEST

> How the hell do I clear out all of the Subversion crap on my local
> disk and
> start over? The damn thing has now left .svn directories EVERYWHERE
> and I
> can't do a damn thing because it thinks the stuff is assigned to a
> URL.

Assuming there's nothing of value in the folder in which your performed the checkout, you can simply delete that folder. (and thus all the .svn subfolders will follow) This is something I do often (deleting working copies) because our source code base is small enough that I can just check out fresh whenever I start working on something new and then delete the top-level folder when I've committed (or reverted) everything. This allows me to work on several things at once.

If, however, you have checked out in a folder with valuable content, *move that content out first* or simply delete the .svn (sub-)folders under it.

> And a better question is how do I DELETE the repository on the remote
> server? Do I have to telnet in there or what? I can't find any
> documentation on cleaning things up.

If you want to destroy all traces of a repository (and thus everything that was in it), you should be able to delete the folder (on the server) that was created when you ran "svnadmin create". You can then run "svnadmin create" again to re-create it. I would recommend you also create yourself a "test" repository in which you can try out Subversion features without risking any valuable files.


Olivier Dagenais
Software Engineering / Génie logiciel
Formark - Combine the Best of SharePoint® and Livelink®
Phone: 613-599-5173 ext 238
Make sure you don't miss anything: subscribe to the Formark Newsletter:
Received on Fri May 4 18:08:26 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.