4 messages in com.perforce.perforce-user[p4] Re: integrate by changelist
FromSent OnAttachments
Raja Aluri18 Aug 2003 19:56 
Mike Castle19 Aug 2003 00:16 
Raja Aluri19 Aug 2003 09:41 
Mike Castle20 Aug 2003 09:43 
Subject:[p4] Re: integrate by changelist
From:Mike Castle (dalg@ix.netcom.com)
Date:08/20/2003 09:43:37 AM
List:com.perforce.perforce-user

In article <19A187F26DD4D311949F009027E28ACE16B67030 at mail.ariba.com>, Raja Aluri <RAluri at ariba.com> wrote:

1) I want to get the last integrated change list, to generate the checkin notes for the integration, not for doing the integration itself. (Like this integration is a bunch of checkins on this branch to the other branch, so once in a while missing one or two change lists is OK) 2) I was trying to use p4 integrated, but that seems to be pretty slow and even then you have to do a lot of output parsing to figure out the right change list.

That's why I wanted to see, if anybody elase knows any tricks to find that the best way interms of spped and load on perforce server.

Ahh.

Will `p4 resolved' help you?

Use p4 resolved to get list of files, use p4 changes -m1 against the list of source files from the above, sort, uniq, p4 describe -s ?

That would get the list of all the changes being integrated in the current checkin. If you really only want the latest, then add a head after the sort.

But, I do really wonder if duplicating all of the text is really necessary.

After all, you can already add `-i' for p4 changes and see the merged in history. With this scheme, it shows up twice. Course, I'm doing that myself actually; but I'm seriously considering changing the comment to just say "Merged in change list 1234".

mrc