[p4] Changing default changelist

Brad Holt brad.holt at autodesk.com
Fri Nov 16 10:56:03 PST 2007


I've thought about that one as well, especially as it makes it easier to script against not having to account for some other special case pending change.  However I can also see why the default changelist is just about necessary as I know folks have written scripts that would make repetitive calls to open whole pile of files:
p4 open //path/foo1.cpp
p4 open //path/foo2.cpp
p4 open //path/foo3.cpp
p4 open //path/foo4.cpp
...

This script checking out all half a million files individually without naming a precreated pending change would permanently eat up all those changelist numbers and make the user's p4 environment completely unwieldy (the UI may not even handle it).

Maybe they could use a new change number each time, but you would be required to specify "new" with the -c changelist flag to get a new pending change number or something.

-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Dix, John
Sent: Friday, November 16, 2007 9:23 AM
To: Perforce Users Mailing List
Subject: [p4] Changing default changelist

Is there a way to make perforce NEVER use a default changelist and
always select the next change number in line?

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



More information about the perforce-user mailing list