[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)

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.
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]