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

Re: [BUG] please help! someone added a .svn inside subversion

From: Edmund Horner <edmund_at_chrysophylax.cjb.net>
Date: 2003-12-13 05:37:48 CET

> I managed to add .svn inside the repository. When someone does an update
> it complains that .svn already exists. Iím stuck, really stuck. How do I
> proceed? What should I do?

The usual thing to do to remove something unpleasant like this from the
repository, is to dump and load, using svndumpfilter to remove the .svn
path.

Unfortunately it becomes increasingly frustrating as your repository
grows: but you can reduce the time it takes by making regular
"--incremental" dumps.

So you can create a new repostory, load the existing dump files, stop
before you get to the first one containing the .svn path, then dump the
remainder of the old repository, run it through "svndumpfilter exclude
somepath/.svn", and load it into the new repostory.

Eventually, "svnadmin obliterate" will be there to handle these cases
nicely and easily.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 13 05:39:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.