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

Re: Revision # theorhetical upper limit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-18 21:35:57 CEST

On Tue, 2004-05-18 at 14:18, David CM Weber wrote:
> I'm just wondering what the max_value for revisions are for a
> repository. I'm assuming that it is architecture dependant. An x86
> system would be 2^32 possible revisions. IA64 would be 2^64 possible
> revisions. It this correct, or is it smaller (bigger).

You are correct. svn_revnum_t is a signed 32-bit integer on most
systems ("long int" in C).

So you'd have to commit every second for the next 60 years or so, to use
up all 2 billion revisions. On a 64-bit machine, it would take much
longer.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 18 21:40:55 2004

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.