9 messages in com.perforce.perforce-user[p4] how to get the last changelist n...
FromSent OnAttachments
Andrew Nguyen12 Feb 2003 17:05 
Robert Duff12 Feb 2003 17:26 
Kjell Martin12 Feb 2003 17:28 
Brian Moyers12 Feb 2003 17:45 
Stephen Vance12 Feb 2003 19:29 
Mike Castle12 Feb 2003 20:31 
Slava Imeshev12 Feb 2003 23:21 
Andrew Nguyen13 Feb 2003 08:01 
Chuck Karish13 Feb 2003 08:19 
Subject:[p4] how to get the last changelist number
From:Kjell Martin (kjel@peregrine.com)
Date:02/12/2003 05:28:16 PM
List:com.perforce.perforce-user

p4 changes -m1 -s submitted | cut -f2 -d" "

It doesn't have to apply any filters this route. I tried both ways and found the above to be a quick response.

-----Original Message----- From: Andrew Nguyen [mailto:ANguyen at oblix.com] Sent: Wednesday, February 12, 2003 5:06 PM To: perforce-user at perforce.com Subject: [p4] how to get the last changelist number

Greetings,

This is what I normally do to get the last changelist number

p4 changes -m 1 -s submitted //depot/... | cut -f2 -d" "

and this took me over 2 minutes to get a response.

Is there a better way in Perforce to get the last changelist number?

Thanks, -Andy