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

Re: delete/wipe out repositories (from the database)?

From: Henning Heil <lists_at_h-quadrat.com>
Date: 2007-04-12 18:04:41 CEST

Hi KM,

yeah, that's really easy and I did that before myself (deleting the
directories, no prob). But: when I imported the projects from eclipse
lately there was no directory created, I spent a while to find something
named even similar to an expected directory name but could not find
anything.

I asked my provider (I run the svnserve on a managed box) and the answer
was that all repositories are stored in a database - that's why I asked
how I can completely delete the DB without destorying the installation.
Leads me to another question: maybe eclipse/subclipse only created
folders and not real repositories?

Seems the situation is a bit weird or - more likely - I am missing some
information.

Any more ideas?

Thanks,

Henning

++++ KM wrote on 12.04.2007 16:18 ++++
> Henning
> I don't want to steer you wrong - but when i was testing it was very
> easy to get rid of old test repositories - if you really never need
> them again. You can just remove the entire repository directory. I
> am using unix - so for example I have
>
> /svnrepos
> mytestrepo
> README.txt conf dav db format hooks locks
>
> myotherone
> README.txt conf dav db format hooks locks
>
> So - if i want to keep 'myotherone' and not 'mytestrepo', I can just
> remove them -
> rm -rf /svnrepos/myotherone
>
> Then it no longer exists - and you may use svnadmin create to create
> it again - Of course you could just move it out of the way and
> recreate it - until you are sure.
>
> Others may have different suggestions.
> KM
>
> */Henning Heil <lists@h-quadrat.com>/* wrote:
>
> Hi everybody,
>
> I was just able to get my svnserve running and did some testing,
> imported projects from Eclipse to svnserve and created some
> repositories.
>
> Now I did enough testing and want to get rid of the test data, means
> wipe out all repositories. Additional condition is: I want to create
> repositories with the same names later for future production use.
>
> As far as I understood the docs and faq it is not possible to
> delete the
> repositories with svnadmin and recreate them with the same name.
>
> Can anyone tell how to achieve what I want? Delete the database
> itself?
> Which files exactly do I have to delete without damaging my
> installation
> (did not do it myself and so can not reproduce it)? Any other easy
> way
> to get back to the initial state (don't wanna lose server config
> and so
> on, just the repositories)?
>
> Thanks for pointing me towards a solution,
>
> Henning
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ------------------------------------------------------------------------
> The fish are biting.
> Get more visitors
> <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>
> on your site using Yahoo! Search Marketing.
> <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>

-- 
http://www.h-quadrat.com
Consulting ¤ [web]Entwicklung ¤ Hosting ¤ IT Services Delivery
https://www.xing.com/profile/HenningT_Heil
Xing Invitation: http://www.xing.com/go/invita/2281
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 12 18:05:17 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.