[p4] Getting the next valid changelist number

Hirani, Mahendra mahendra.hirani at bankofamerica.com
Wed Oct 18 09:24:27 PDT 2006


 
Thank you for your responses, 

p4 counter change  then adding one    seems to be the best option for
me.

The reason I need the next changelist number is to ensure that for the
automatic merge script I plan to implement.
For a given client view that maybe has pending files in the default
changelist of that client, I would create a new empty changelist to
which my merge script would populate, thereby not contaminating the
merge process with files opened by other users OR even previously
crashed merge scripts using the default changelist.

Basically, a safeguard I would like to build into my merge script.

Thanks again,

Mahendra.

Mahendra Hirani
Global Markets Trading Technology
Bank of America


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Hirani,
Mahendra
Sent: 17 October 2006 15:07
To: perforce-user at perforce.com
Subject: [p4] Getting the next valid changelist number

Hi
 
Is there a simple perforce command to get the next valid changelist
number, rather than writing a script to get the last changelist number
and increment it?
 
Thanks,
 
Mahendra.
 
Mahendra Hirani
Global Markets Trading Technology
Bank of America
 
 



Notice to recipient:
The information in this internet e-mail and any attachments is
confidential and may be privileged. It is intended solely for the
addressee. If you are not the intended addressee please notify the
sender immediately by telephone. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted to
be taken in reliance on it, is prohibited and may be unlawful.

When addressed to external clients any opinions or advice contained in
this internet e-mail are subject to the terms and conditions expressed
in any applicable governing terms of business or client engagement
letter issued by the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch and Banc of America Securities Limited are
authorised and regulated by the Financial Services Authority.
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



Notice to recipient:
The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority.



More information about the perforce-user mailing list