LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2011, 10:33 PM   #1
gvanto
Member
 
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: http://forums.site5.com/showthread.php?t=21013 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@67.227.83.100/home/subversion/repos/
subversion@67.227.83.100'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!

gvanto

Last edited by gvanto; 03-20-2011 at 12:29 AM.
 
Old 03-20-2011, 11:57 AM   #2
alunduil
Member
 
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.

Regards,

Alunduil
 
  


Reply


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 02:54 PM
Put contents in an SVN repository, how to? linuxlover.chaitanya Linux - Newbie 1 03-17-2011 08:51 AM
What permissions to set on SVN repository directory? rhimbo Linux - Software 1 11-02-2009 03:57 PM
Svn: Create repository and Tortoisesvn ArthurHuang Linux - Software 0 10-09-2007 12:14 AM
ViewCVS doesn't see SVN repository dmellem Linux - Software 1 10-14-2005 01:17 AM


All times are GMT -5. The time now is 11:14 AM.

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