[p4] Changing default changelist

todd.benham@kodak.com todd.benham at kodak.com
Fri Nov 16 12:53:40 PST 2007


I have posted about this once before but I will take a chance on be
"flamed" and re-iterate the thought for those who might like to request
this as a feature. (Maybe Perforce support watches these postings
already). 

I think Perforce should be changed to hide this whole issue from the
client. The changelist number should only be assigned when it is actually
submitted. Any numbers or ids or names would be presented to the user for
the convenience of the owner but would not have any thing to do with the
final changelist numbers. Thus, the changelist would always be 'new' or
'existing' and not tied to any current value that might change anyway.
Then, both paradigms would/could be available.

Of course, this wouldn't help you solve your problem now.

Todd 


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of
brad.holt at autodesk.com
Sent: Friday, November 16, 2007 1:56 PM
To: Dix, John; perforce-user at perforce.com
Subject: Re: [p4] Changing default changelist


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

_______________________________________________
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