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

Re: svn repository on the server side

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2007-11-28 22:58:00 CET

Thierry Lam wrote:
> I just got a repository of svn and I noticed that the 1000s of source
> files are combined in one gigantic file, is that how the repository
> looks like on the svn server side?

If you're using FSFS as the back-end file system (instead of Berkley
DB), each revision is stored in a single file. Since a revision might
have a few hundred / thousand files committed as part of it, you could
indeed have a few hundred / thousand files in one gigantic file.

There's also delta code that comes into play (the file for revision #123
will only have the changes that make things different compared to a
previous revision). And SVN uses a fairly good algorithm for choosing
which previous revision to base off of for the new revision.

(I'd imagine that the SVN Book or the website might go into more detail.
  I don't worry overly much about it.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 28 22:58:38 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.