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

RE: SVN Security

From: Calvin <szguoxz_at_hotmail.com>
Date: 2005-07-17 23:41:36 CEST

Cool. It's smart than I thought. :-)

Calvin

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of John
Sent: Sunday, July 17, 2005 4:51 PM
To: users@subversion.tigris.org
Subject: Re: SVN Security

Calvin <szguoxz <at> hotmail.com> writes:

> When you check out a repository or commit a change, is SVN smart enough to
> keep this operation a constant time frame, disregarding how many revs you
> have? I feel like SVN has to re-calculate everything from rev0 in order to
> reach the final state of every file in the repository.

Skip-deltas. Max of 32 jumps from zero to any revision.

And with your notional 500,000 rev repository, a max of 19 skips. Usually
much less:

rev 500,000 =
1111010000100100000, delta based on
1111010000100000000, based on
1111010000000000000, based on
1111000000000000000, based on
1110000000000000000, based on
1100000000000000000, based on
1000000000000000000, and yep u guessed it based on,
0

So thats 7 deltas from 0 to 500,000. Not bad!

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 17 23:44:01 2005

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.