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

Re: deleting some of the log history

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 3 Apr 2008 22:58:41 +0100

On 03/04/2008, bea2802 <houria_younes_at_hotmail.com> wrote:
> here is my problem :
>
> each time we commit in the repo, we have a new version stored with a log
> message and a revision number.
> suppose that i have a file with a 20M size (binary file), each time i
> commit the size will grow huge (eg 100 copies of this file stored in the
> repo).

Subversion stores binary differences, not the whole file, so most of
the time the increase in repository size will not be as large as you
might expect. But note that if the file is in a compressed format
(.zip, .rar, etc) the binary diff will not work efficiently as a
single byte change to the uncompressed version is likely to make the
rest of the file completely different.

> I was wondering if it's possible to delete the oldest 50 versions and keep
> the newest ones
> to decrease to size ?

No. What would be the use of a revision control system that threw away
the historical data after a certain time or number of revisions? Maybe
it is a backup system rather than a revision control system that you
need.

Alternatively, are you versioning generated files rather than source
files? What is this 20M file?

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-03 23:58:50 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.