Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2011, 09:33 PM   #1
Registered: Oct 2009
Posts: 40

Rep: Reputation: 0
Question trouble removing svn repository completely

I have googled it profusely but still am quite confused about how to remove an svn repository:

I have accidentally imported the contents of a directory into the repo instead of the directory itself and now I need to remove everthing from the repo (in fact i would like to just delete the repo and re-create it).

Here: the final comment is:

"you can svn delete directories, but if you want to get rid of the entire repo forever-ever, just delete the database file from your repo directory. since the project info is self-contained in its .svn directory, the correct way to delete a repository is actually to delete the directory. "

- what is this 'database file' being referring to?
- what is 'the directoy' being referred to?

From local server:
svn list -v svn+ssh://subversion@
subversion@'s password:
1 subversi Mar 20 12:36 ./
1 subversi 39 Mar 20 12:36 access-logs
1 subversi Mar 20 12:36 etc/
1 subversi Mar 20 12:36 mail/
1 subversi Mar 20 12:36 public_ftp/
1 subversi Mar 20 12:36 public_html/
1 subversi Mar 20 12:36 tmp/
1 subversi 16 Mar 20 12:36 www

directly on svn server (where repos lives):
[22:06:42][root@x:/home/subversion/repos]# ls
README.txt conf db format hooks locks

Any help on this would be greatly appreciated!


Last edited by gvanto; 03-19-2011 at 11:29 PM.
Old 03-20-2011, 10:57 AM   #2
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Let me know if this isn't what you meant but it sounds like you simply need to remove /home/subversion/repos and then recreate it with svnadmin. Otherwise, there are ways to remove that particular commit from the repository but it would be easier to just recreate the repository if you can afford it. For reference you can check the subversion book.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forbidden Error : Don't have access to svn repository visu_buri Linux - Newbie 7 11-28-2013 01:54 PM
Put contents in an SVN repository, how to? linuxlover.chaitanya Linux - Newbie 1 03-17-2011 07:51 AM
What permissions to set on SVN repository directory? rhimbo Linux - Software 1 11-02-2009 02:57 PM
Svn: Create repository and Tortoisesvn ArthurHuang Linux - Software 0 10-08-2007 11:14 PM
ViewCVS doesn't see SVN repository dmellem Linux - Software 1 10-14-2005 12:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration