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:13:05 2003