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

Re: general question about revisions

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-06 09:12:25 CEST

On Apr 6, 2007, at 01:56, Matt Sickler wrote:

> On 4/6/07, Victor Escobar <sydbarrett74@gmail.com> wrote:
>
>> Let's say I have 1500 builds of a project, and I designate build
>> 1500 as
>> the 'version 1.0' build. In order for me to save drive space, does
>> SVN
>> support the ability to designate build 1500 as the new 'beginning
>> build'
>> and reference all future build deltas off of that one, so that i can
>> delete builds 1 through 1499? I'm just curious, because our
>> project is
>> rather large, with lots of activity, and our drive space is somewhat
>> limited.
>
> just export the repo in that revision to a temp dir, delete the
> repo (or archive it), then start a new one off that (by importing
> the temp dir)

Matt: export and import is a bad idea because you will lose all
properties. Instead, use "svnadmin dump -r HEAD /path/to/oldrepo >
dumpfile", "svnadmin create /path/to/newrepo" and "svnadmin load /
path/to/newrepo < dumpfile". This will preserve properties.

Victor: note that Subversion already stores deltas internally. And
especially if you've done any branching or tagging or other copying
within your repository, dumping and loading just the HEAD revision
could actually end up giving you a larger repository than the one you
had, simply because all your cheap copies have now been turned into
expensive copies. Plus you've just lost all the history of your early
revisions. Plus it's inconvenient because anyone who had a working
copy from the old repo will have to throw it away and get new working
copies from the new repo. You could of course test the dump/load
strategy to see what kind of disk space savings, if any, you get for
your specific repo.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 6 09:12:57 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.