[p4] Finding unintegrated changes

Rick Macdonald rickmacd at shaw.ca
Tue Nov 4 08:01:11 PST 2008

As Robert mentioned, Laura's book Practical Perforce is highly 
recommended. Besides the interchanges command, I also use Jobs as 
discussed in Chapter 8.

You could try the following:

Even after the fact, you can attach a Job to a changelist in Main. Using 
jobs -i on the three R branches, it will tell you if the "fix" 
associated with the Main changelist has been integrated to the other 
branches. You can delete the Job and the fix when you're done, so the 
whole thing can be put into a script. I think I suggested this before 
(in the last few months) where I showed the commands to create and 
delete the Job, but here is just the jobs command showing a change that 
is in R2 but not R1:

$ p4 jobs -i -e job=xxx1234 //R1/...
$ p4 jobs -i -e job=xxx1234 //R2/...
xxx1234 on 2008/09/02 by rickm *closed* 'Temporary Job to track Main 
changelist 1234 integrations.'


Yamuna Ramasubramaniyan wrote:
> Hello,
> I have a project which has 4 branches, Main, R1, R2 and R3.  My task is
> to find changes in R1 that aren't in other branches.  I'm using the
> interchanges command but it doesn't help in the below case:
> *	Cl  #1 is submitted to main and integrated to R1 ( cl #2) and R2
> ( cl #3).  I can't figure out a way to determine that cl #2 was
> submitted to R2 and not R3.  
> Our dev process is that changes are submitted to Main and integrated to
> R1, R2 etc.   In light of this confusion, I'm tempted to abandon this
> method.  What submission policy do you follow if there are multiple
> parallel development branches for a project?
> Thanks,
> Yamuna
> _______________________________________________
> 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