[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a limint on the number of branches in CVS?
From: |
Jim Hyslop |
Subject: |
Re: Is there a limint on the number of branches in CVS? |
Date: |
Tue, 16 May 2006 14:01:18 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Larry Jones wrote:
> Jim Hyslop writes:
>
>>Hmmm... well, in theory, yes. But in practice, I think there are much
>>more likely bugs and features to address first. Are there repositories
>>out there where the revision number is likely to exceed INT_MAX? I know
>>not everyone's using an OS where INT_MAX is 2147483647 or greater, but
>>even so, has anyone even approached 32,000 revisions on a branch yet?
>
>
> Well, what started this thread was a problem with files containing over
> 1,000 branches, which is much too close to 32,000 for my comfort.
There's still 97% headroom remaining - plenty of room for growth (says
he, while keeping in mind Bill Gates' infamous '640K' quotation).
A quick fix would be to test for wraparound when creating a new revision
number, and refuse to create the tag (or check in the file) if it
reaches INT_MAX.
>>Out of curiosity, has anyone tested what happens if the revision numbers
>>roll over?
>
>
> I suspect all hell breaks loose. :-)
I suspect you're right.
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEahNuLdDyDwyJw+MRAsrCAKC56ZbF13ZU87dK/Wz+9gb97ZezjwCdGHyp
vFHXaXs+fZg6bqKrCiQfLIY=
=QLAd
-----END PGP SIGNATURE-----