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

Re: break apart a repository into multiple

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-10 13:29:32 CET

On Jan 10, 2006, at 04:35, matador wrote:

> ok so i dump the repo
> then run svndumpfilter
> then load that filtered dump file to the other repo.
> all good.
>
> 1) but when i delete that old project from the first repo, will it
> save me
> space or shrink that first repo?

Yes, when you dump, filter and load, the point is to completely
delete the items from the repository, with no chance of recovering
them. They are truly deleted. The space they formerly occupied is no
longer occupied.

> 2) alternately, why couldnt i just do a hotbackup copy of the first
> repo
> and copy that over to the second repo, deleting what i didnt want
> afterwards from the second one?

If you delete items from a repository using the normal "svn delete"
command, then the history of that item remains in the repository. You
can still go back to previous revisions and get the file back out.
Therefore the file obviously still takes up space in the repository.
If the goal is to rid the repository of a file that should never have
been committed in the first place, and which contains confidential
information that you cannot afford to divulge, or the committed file
is merely humongous and you don't want to waste that disk space, then
the only option is to dump, filter and load.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 10 13:34:26 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.