title: Perforce: Integrating multiple changelists which contain same files with different revisions to branch
body: <p>There are total 10 changelists 10006, 10009, ... 10089 belong to a new feature in branch 1, I want to merge the feature into branch 2.</p>
  
  <p>As shown below, many of the changelists contain same files with different revisions.</p>
  
  <p>changelist 10006 contains file: <strong><em>ClosedLoop.cs(#5)</em></strong>, C(#2), <strong>D.cpp(#2)</strong>, K(#3) <br/>
  changelist 10009 contains file: <strong>D.cpp(#7)</strong>, E(#6), H(#2), M(#5), Z(#2) <br/>
  ... <br/>
  changelist10089 contains file: <strong><em>ClosedLoop.cs(#8)</em></strong>, U(#7), I(#9) <br/></p>
  
  <p>I choose all the 10 changelists for merging because each of the list contains some unique files in it. (like file C and K in 10006, file U and I in 10089)</p>
  
  <p><strong>Problem</strong>: <br/>
  <del>Perforce uses the older revision (ClosedLoop.cs rev. 5) instead of newer revision (ClosedLoop.cs rev. 8) for merging.</del>
  Perforce uses both ClosedLoop.cs revision 5 and 8 for merging instead of just the newest version (rev. 8)</p>
  
  <p><strong>Details</strong>: <br/>
  I followed the steps to merge files between braches in the video 
  (<a href="https://www.youtube.com/watch?v=6hCPZPl68ng" rel="nofollow noreferrer">https://www.youtube.com/watch?v=6hCPZPl68ng</a>). <br/>
  In the Merge/Integrate dialogue, I do the following steps: <br/>
  1. Selecte "Filter" tab <br/>
  2. Check "Selected chagelists" <br/>
  3. Check multiple changelists from the list. The selected changelists contain same files with different revision. <strong>As shown below,</strong> <strong>changelist 10006 contains ClosedLoop.cs in revision 5 and changelist 10089 contains the same file in revision 8</strong>. <br/></p>
  
  <p><img src="https://i.stack.imgur.com/2uFM2.png" alt="enter image description here"></p>
  
  <ol start="4">
  <li>Click Preview button, it shows</li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/cUFi9.png" alt="enter image description here"></p>
  
  <ol start="5">
  <li>Click Merge button <br/></li>
  </ol>
  
  <del>
  The problem is that **Perforce uses older revision (revision 5) for merging, not the newer revision (revision 8)** as shown below. <br/>
  **As shown below, Perforce** **disallow me to select revision 8 for for merging** in the below Resolve dialogue. </del>
  
  <p>Perforce uses both ClosedLoop.cs revision 5 and 8 for merging.</p>
  
  <p><img src="https://i.stack.imgur.com/tAdyT.png" alt="enter image description here"></p>