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

Re: What gets sent to the server

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-11-18 14:10:32 CET

On Nov 18, 2003, at 8:04 AM, Tim Armes wrote:

>
> When you commit changes, do entire files get sent back to the server,
> or
> just the deltas for the files that have changed?
>
> I'd always assumed that the deltas would be send to improve long
> distance
> network traffic, but the fact that I have to run deltify after the
> commit
> has finished would imply otherwise.

Only the difference gets sent to the server.

The reason you have to run 'svnadmin deltify' is that instead of just
storing the changes as 'the original' and a bunch of deltas you need to
apply, Subversion stores the most recent version in fulltext (since
that's what people usually check out anyway), and deltas for older
revisions (it's more complex than that really, there's a scheme where
you only have to apply a reasonably small number of those deltas to get
any given older revision, but that's a good approximation).

So when your commit goes in, Subversion builds up the fulltext of the
most recent version (the version you just created) and stores it. The
deltification part is going back and making the previous revisions
store deltas relative to the new version, and that can take some time
for very large files.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 18 14:12:10 2003

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.