Changelist wastage [was RE: [p4] Re: Labels or branches?]
Gordon_Broom at pml.com
Fri Jun 8 13:57:50 PDT 2001
I seem to recall Simon Morton saying:
> That seems like an unnecessary waste of perfectly good numbers to me.
> Still, I guess change numbers are cheap ;-) On that subject, does anyone
> know if there is a "maximum" change number? Is it a 32-bit int? Has
> got past 100,000? Just curious.
I already did this calculation, because I have scripts which generate
temporary changelists (which get thrown away) and I was also worried about
Assuming the changelist counter is an unsigned 32 bit integer. Thus, we
have 4294967296 changelist numbers to use. If you submit one changelist a
second, it'll take you about 136 years to run out (I think I did the math
correctly). I plan to be retired by then. :-)
As for 100,000: nope, we're at about 42,000 right now. I don't think any of
my scripts have any hard-coded limit for changelist numbers at least. Build
numbers are a different story :-)
Configuration Management Engineer
Power Measurement Ltd.
+1 250 652 7100 x7608
More information about the perforce-user