[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: .svn directories added to repository
From:       Nick Thompson <nickthompson () agere ! com>
Date:       2006-05-05 9:28:09
Message-ID: 200605051028.10182.nickthompson () agere ! com
[Download RAW message or body]

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 :-)

http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.dump.html
http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.load.html

-- 
> Nick Thompson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic