Clément Andraud
Clément Andraud

Reputation: 9279

How to reset a repository with SVN

I'm using SVN on my server and i don't know how i can reset my repository ?

There are a lots of data on this repository,i want reset this, and after make a new commit with a completly different folder.

Do you have any ideas ? How can i retrieve an empty repository ?

Thanks !

Upvotes: 0

Views: 5621

Answers (1)

Álvaro González
Álvaro González

Reputation: 146630

A repository is nothing else than a directory. Remove it manually and then run svnadmin create again. You'll also get a new UUID, which IMHO is a good idea: you won't confuse clients into thinking it's still the old repo where all history suddenly vanished.

Upvotes: 4

Related Questions