You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Victor Escobar <sy...@gmail.com> on 2007/04/06 06:50:28 UTC

general question about revisions

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.

Re: general question about revisions

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 6, 2007, at 01:56, Matt Sickler wrote:

> On 4/6/07, Victor Escobar <sy...@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

Re: general question about revisions

Posted by Matt Sickler <cr...@gmail.com>.
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)

On 4/6/07, Victor Escobar <sy...@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.
>
>