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

Re: .svn directories added to repository

From: Nick Thompson <nickthompson_at_agere.com>
Date: 2006-05-05 11:28:09 CEST

On Wednesday 03 May 2006 18:18, Nettleton, Carlton E. wrote:
> While I was gone on vacation, someone added and committed the .svn
> directories to the repository. As a result, no one can do an
> update or a commit because we are getting errors. What is the best
> way to solve this problem?
> Ideally, I would simply like to rollback the repository to a rev
> number prior to the introduction of the .svn directories and remove
> all the later revisions from the repository. For example, we are
> on rev 1763 and the .svn folders were added at 1729. I would like
> to bring the repository back to 1728 and wipe out everything from
> 1729 to 1763. Is this possible?

I've not done this myself, but you should just need to dump the
repository revisions 1 through 1728, create a new repo and load the
dump file to the new repo.

svnadmin dump -r 1:1728 old_repo_path >dumpfile
svnadmin load new_repo_path <dumpfile

I'd read up on those commands in the manual before you jump right in
though :-)


> Nick Thompson
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 5 11:29:09 2006

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.