PDA

View Full Version : svn problem: help me clear the repository



magland
26th September 2007, 02:28
I'm relatively new to svn, and I've gotten myself into a jam. I inadvertantly "imported" a large amount of data to my repository on sourceforge, and I no longer have the directory in which I did the accidental import.

I want to clear it out and start over. One way to do this would be to do a "checkout" and then delete all files and then "commit". However, I don't want to have to download all that data, because it will take a long time.

Is there an easy way to clear out a remote repository without first downloading?

wysota
26th September 2007, 02:54
You can try:

svn remove <URL>

where <URL> is the top directory to remove from the repository (all data within it will be removed as well).