5 messages in com.perforce.perforce-user[p4] Finding changelists between labels| From | Sent On | Attachments |
|---|---|---|
| Smith, Jeff | 28 Jan 2005 09:17 | |
| Andy Nguyen | 31 Jan 2005 00:18 | |
| Smith, Jeff | 31 Jan 2005 08:22 | |
| Andy Nguyen | 31 Jan 2005 10:30 | |
| Smith, Jeff | 31 Jan 2005 10:42 |
| Subject: | [p4] Finding changelists between labels![]() |
|---|---|
| From: | Smith, Jeff (jsm...@medplus.com) |
| Date: | 01/31/2005 08:22:14 AM |
| List: | com.perforce.perforce-user |
Is the single quote in your suggestion a typo? Is it a forward quote or back-quote?
Either way, I still get a null result back for the test case I have given.
Jeff
-----Original Message----- From: Andy Nguyen [mailto:anguyen at oblix.com] Sent: Monday, January 31, 2005 3:19 AM To: perforce-user at perforce.com Subject: RE: [p4] Finding changelists between labels
Hi Jeff,
I used the command below. I think this is what you are looking for.
project=//depot/project/... label1=old_label label2=new_label
p4 changes ${project}'@>${label1},@<=${label2}
-Andy
-----Original Message----- From: perf...@perforce.com [mailto:perforce-user-admin at perforce.com] On Behalf Of Smith, Jeff Sent: Friday, January 28, 2005 9:18 AM To: perforce-user at perforce.com Subject: [p4] Finding changelists between labels
I know this question has been much hashed about and I do have an algorithm which works...but I always look for a single command to answer these types of frequently asked questions.
The closest I have found is
p4 changes //depot/filespec@>label1, at label2
But this misses all the changelists which only add files which have only been labelled with label2.
Consider changelist 01215: add file1 apply label test1 changelist 01216: add file2 apply label test2 changelist 01217: add file3 apply label test3
p4 changes //depot/... at test1, at test2
yields only 01215 and
p4 changes //depot/...@>test1, at test2 p4 changes //depot/...@>test1, at test3
both yield nothing
Is this a Perforce bug?
Jeff
_______________________________________________ Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas. Learn more: http://www.perforce.com/conf
perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________ Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas. Learn more: http://www.perforce.com/conf
perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user




