Differences from version 3 to 4



@@ -1,57 +1,55 @@

-Including 3rd party code in CVS
+! Including 3rd party code in CVS
 
-Let's say we want to import the excellent database abstraction layer
-ADOdb version 3.60 into our CVS repository:
-<tt>
+How merge to HEAD is done: Let's say we want to import the excellent database abstraction layer ADOdb version 4.60 into our CVS repository:
+
+{code format="Bash" num="true" title="ADOdb:"}
 $ wget http://phplens.com/lens/dl/adodb360.tgz
 $ tar xvzf adodb360.tgz
 $ rm adodb360.tgz
 $ cd adodb
-$ cvs import -m 'Imported ADOdb 3.60' _adodb PHPLENS_COM R3_60
+$ cvs import -m 'Imported ADOdb 4.60' _adodb PHPLENS_COM R4_60
 $ cd ..
 $ rm -fr adodb
-</tt>
-Now, we're going to check it out from CVS and fix a bug we found:
-<tt>
+{/code}
+
+{code format="Bash" num="true" title="Now, we're going to check it out from CVS and fix a bug we found:"}
 $ cvs checkout _adodb
 $ cd _adodb
-<i>...hack, chop, whittle...</i>
+...hack, chop, whittle...
 $ cvs commit -m "Fixed bug #12345: Replace doesn't use native REPLACE command, if available"
 $ cd ..
 $ rm -fr _adodb
-</tt>
-Now, we want to upgrade to version 3.70:
-<tt>
-$ wget http://phplens.com/lens/dl/adodb370.tgz
-$ tar xvzf adodb370.tgz
-$ rm adodb370.tgz
+{/code}
+
+{code format="Bash" num="true" title="Now, we want to upgrade to version 4.62:"}
+$ wget http://phplens.com/lens/dl/adodb462.tgz
+$ tar xvzf adodb462.tgz
+$ rm adodb462.tgz
 $ cd adodb
-$ cvs import -m 'Imported ADOdb 3.70' _adodb PHPLENS_COM R3_70
-</tt>
-This command completed successfully, but reported the following:
-<tt>
+$ cvs import -m 'Imported ADOdb 4.62' _adodb PHPLENS_COM R4_62
+{/code}
+
+{code format="Bash" num="true" title="This command completed successfully, but reported the following:"}
 1 conflicts created by this import.
 Use the following command to help the merge:
+cvs checkout -j -jR4_62 _adodb
+{/code}
 
- cvs checkout -j<prev_rel_tag> -jR3_70 _adodb
-</tt>
-So, let's delete the imported directory:
-<tt>
+{code format="Bash" num="true" title="So, let's delete the imported directory ..."}
 $ cd ..
 $ rm -fr adodb
-</tt>
-And checkout as instructed above.
-<tt>
-$ cvs checkout -jR3_60 -jR3_70 _adodb
-</tt>
-Manually resolve any conflicts that were reported.
+{/code}
 
-Now, let's commit our 3.60 changes into 3.70:
-<tt>
-$ cvs commit -m 'Merged our 3.60 changes into 3.70'
-</tt>
-And finally remove our directory:
-<tt>
-$ rm -fr _adodb
-</tt>
+{code format="Bash" num="true" title="... and checkout as instructed above"}
+$ cvs checkout -jR4_60 -jR4_62 _adodb
 
+Manually resolve any conflicts that were reported
+{/code}
+
+{code format="Bash" num="true" title="Now, let's commit our 4.60 changes into 4.62:"}
+$ cvs commit -m 'Merged our 4.60 changes into 4.62'
+{/code}
+
+{code format="Bash" num="true" title="And finally remove our directory:"}
+$ rm -fr _adodb
+{code}
Page History
Date/CommentUserIPVersion
26 Aug 2006 (19:29 UTC)
update format
laetzer217.83.93.2114
Current • Source
spiderr66.93.240.2043
View • Compare • Difference • Source
system0.0.0.02
View • Compare • Difference • Source