<div dir="ltr"><div><div><div><div>Bob,<br><br></div>Oopes.  Yes, my instructions told people to edit the trunk instead of their branch.   Sorry about that.  How do we correct that document?<br><br></div>Someone needs to fix the trunk externals though.<br><br></div>Sincerely,<br></div>Sam Trahan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 2:15 PM, Robert Oehmke <span dir="ltr">&lt;<a href="mailto:robert.oehmke@noaa.gov" target="_blank">robert.oehmke@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Sam,<div><br></div><div>  I was looking at the instructions that you sent me awhile ago. See below. </div><div><br></div><div>I think that the line under point 3 is not correct. Instead of this: </div><div><br></div><div>    svn propedit svn:externals <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/trunk" target="_blank">https://svnemc.<wbr>ncep.noaa.gov/projects/nems/<wbr>apps/WAM-IPE/trunk</a><br></div><div><br></div><div>I think that it should be this: </div><div>    svn propedit svn:externals <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/branches/bob" target="_blank">https://svnemc.<wbr>ncep.noaa.gov/projects/nems/<wbr>apps/WAM-IPE/branches/bob</a></div><div><br></div><div>Is that right? </div><div><br></div><div>Thanks,</div><div><br></div><div>- Bob</div><div><br></div><div><br></div><div>==============</div><div><br></div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Bob,<br><br></div>If you do an &quot;svn status -q&quot; from the top level, it will list all changed files.  There may be a few compiler intermediate files listed as &quot;new&quot; files (lines beginning with a &quot;?&quot;)  <br><br></div>In your situation, the best option is the &quot;patch&quot; command.  Let&#39;s say your old checkout is in the directory &quot;old-checkout.&quot;  Do this:<br><br></div>1. For each file you modified, run this command:<br><br></div>    svn diff old-checkout/path/to/file.f &gt; old-checkout/path/to/file.f.<wbr>diff<br><br></div>The file.f.diff contains a Unified Format Diff listing all local changes in that file.<br><br></div><div>2. Make a branch of the trunk.  One of these commands may fail if you do not have access to a repository.<br><br></div><div>    svn cp -m &quot;branch for merging Bob&#39;s changes&quot; \<br>    <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/trunk" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/apps/WAM-<wbr>IPE/trunk</a> \<br></div><div>    <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/branches/bob" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/apps/WAM-<wbr>IPE/branches/bob</a><br><br></div><div>    svn cp -m &quot;branch for merging Bob&#39;s changes&quot; \    svn cp -m &quot;branch for merging Bob&#39;s wam-ipe changes&quot; \<br></div>    <a href="https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/quasitrunk" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/branches/<wbr>WAM-IPE/quasitrunk</a> \<br>    <a href="https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/bob" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/branches/<wbr>WAM-IPE/bob</a><br><div><br></div><div>    svn cp -m &quot;branch for merging Bob&#39;s wam-ipe changes&quot; \<br>    <a href="https://github.com/IonospherePlasmasphereElectrodynamics/ipe/trunk" target="_blank">https://github.com/<wbr>IonospherePlasmasphereElectrod<wbr>ynamics/ipe/trunk</a> \<br></div><div>    <a href="https://github.com/IonospherePlasmasphereElectrodynamics/ipe/branches/bob" target="_blank">https://github.com/<wbr>IonospherePlasmasphereElectrod<wbr>ynamics/ipe/branches/bob</a><br><br></div><div>3. Point your branch to its externals<br><br></div><div>    svn propedit svn:externals <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/trunk" target="_blank">https://svnemc.<wbr>ncep.noaa.gov/projects/nems/<wbr>apps/WAM-IPE/trunk</a><br><br></div><div>That should open a text editor (unless you did not set the EDITOR variable).  Change the IPELIB and NEMS lines to point to your branches.  Do not change other lines.<br><br></div><div>NEMS <a href="https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/bob" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/branches/<wbr>WAM-IPE/bob</a><br>IPELIB  <a href="https://github.com/IonospherePlasmasphereElectrodynamics/ipe/branches/bob" target="_blank">https://github.com/<wbr>IonospherePlasmasphereElectrod<wbr>ynamics/ipe/branches/bob</a></div><div><br>4. Check out your branch:<br></div><br></div>    svn co <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/branches/bob" target="_blank">https://svnemc.ncep.noaa.<wbr>gov/projects/nems/apps/WAM-<wbr>IPE/branches/bob</a><br><br></div><div>That will make a directory called &quot;bob&quot; containing your branch.  <br></div><div><br></div>5. Apply the diff for each file, using the &quot;patch&quot; command.<br><br></div>    patch --unified --forward --merge  bob/path/to/file.f old-checkout/path/to/file.f.<wbr>diff<br><br></div>That will act similarly to the &quot;svn merge&quot; command, merging your old-checkout working copy changes to the trunk files.  Conflicts will show up in the file.f like this:<br><br>              &lt;&lt;&lt;&lt;&lt;&lt;&lt;<br>              lines from the original file<br>              |||||||<br>              original lines from the patch<br>              =======<br>              new lines from the patch<br>              &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br><br></div><div>6. Make sure your branch compiles and runs.<br></div><div><br></div><div>7. Commit your changes using the &quot;svn commit&quot; command.  Make sure you commit all files- note that you have to do separate commits in the NEMS, application, and IPELIB areas since they are different repositories.<br></div><div><br></div>Sincerely,<br></div>Sam Trahan</div><div><br></div><div><br></div><div>====</div><div><br></div></div></div></div></div><div><br></div><div><br><div><div><div class="h5"><div>On May 23, 2017, at 12:08 PM, Samuel Trahan - NOAA Affiliate &lt;<a href="mailto:samuel.trahan@noaa.gov" target="_blank">samuel.trahan@noaa.gov</a>&gt; wrote:</div><br class="m_-2019357589876857985Apple-interchange-newline"></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div><div><div>Naomi,<br><br></div>You made the same mistake as Bob.  You changed the trunk&#39;s NEMS and IPELIB to point to your branches.<br><br></div>Sincerely,<br></div>Sam Trahan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 1:28 PM,  <span dir="ltr">&lt;<a href="mailto:Samuel.Trahan@noaa.gov" target="_blank">Samuel.Trahan@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Friendly WAM-IPE developers,<br>
<br>
This is an automated email about a WAM-IPE commit.<br>
<br>
Project: WAM-IPE<br>
URL: <a href="https://svnemc.ncep.noaa.gov/projects/nems/apps/WAM-IPE/trunk" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/apps/WAM-IPE/trun<wbr>k</a><br>
Revision: 93143<br>
Author:   <a href="mailto:naomi.maruyama@noaa.gov" target="_blank">naomi.maruyama@noaa.gov</a><br>
Date:     2017-05-23T17:18:30.201346Z<br>
Message:<br>
modified to point my branch to its externals<br>
<br>
<br>
Differences:<br>
Index: checkout<br>
==============================<wbr>==============================<wbr>=======<br>
--- checkout    (revision 92991)<br>
+++ checkout    (revision 93143)<br>
<br>
Property changes on: checkout<br>
______________________________<wbr>______________________________<wbr>_______<br>
Modified: svn:externals<br>
## -1,7 +1,7 ##<br>
-              NEMS  -r92673 <a href="https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/quasitrunk" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/branches/WAM-IPE/<wbr>quasitrunk</a><br>
+              NEMS  -r92673 <a href="https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/naomi" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/branches/WAM-IPE/<wbr>naomi</a><br>
 NEMS/src/atmos/gsm  -r90126 <a href="https://svnemc.ncep.noaa.gov/projects/gsm/branches/WAM-IPE/quasitrunk" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/gsm/branches/WAM-IPE/q<wbr>uasitrunk</a><br>
 NEMS/src/atmos/nmm  -r85687 <a href="https://svnemc.ncep.noaa.gov/projects/nems/external_comps/NMM" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/external_comps/NM<wbr>M</a><br>
-            IPELIB          <a href="https://github.com/IonospherePlasmasphereElectrodynamics/ipe/branches/bob" rel="noreferrer" target="_blank">https://github.com/IonosphereP<wbr>lasmasphereElectrodynamics/<wbr>ipe/branches/bob</a><br>
+            IPELIB          <a href="https://github.com/IonospherePlasmasphereElectrodynamics/ipe/branches/naomi" rel="noreferrer" target="_blank">https://github.com/IonosphereP<wbr>lasmasphereElectrodynamics/<wbr>ipe/branches/naomi</a><br>
                IPE  -r85943 <a href="https://svnemc.ncep.noaa.gov/projects/ipe/branches/nuopc_cap" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/ipe/branches/nuopc_cap</a><br>
            DATAWAM  -r73436 <a href="https://svnemc.ncep.noaa.gov/projects/nems/external_comps/DATAWAM/trunk" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/external_comps/DA<wbr>TAWAM/trunk</a><br>
            DATAIPE  -r65981 <a href="https://svnemc.ncep.noaa.gov/projects/nems/external_comps/DATAIPE/trunk" rel="noreferrer" target="_blank">https://svnemc.ncep.noaa.gov/p<wbr>rojects/nems/external_comps/DA<wbr>TAIPE/trunk</a><br>
</blockquote></div><br></div></div></div>
______________________________<wbr>_________________<br>WAM-IPE mailing list<br><a href="mailto:WAM-IPE@lstsrv.ncep.noaa.gov" target="_blank">WAM-IPE@lstsrv.ncep.noaa.gov</a><br><a href="https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/wam-ipe" target="_blank">https://www.lstsrv.ncep.noaa.<wbr>gov/mailman/listinfo/wam-ipe</a><br></blockquote></div><br></div></div></blockquote></div><br></div>