You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/02 14:31:02 UTC

[Cocoon Wiki] Updated: CVSMigration

   Date: 2004-07-02T05:31:02
   Editor: UgoCei <ug...@apache.org>
   Wiki: Cocoon Wiki
   Page: CVSMigration
   URL: http://wiki.apache.org/cocoon/CVSMigration

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -17,20 +17,20 @@
 
 This is only applicable for converting a 2.0.x directory to the 'cocoon-2.0' module.  Here we have an extra requirement: strip the 'branch' indicator from every file's {{{CVS/Entries}}} entry:
 
-{{{
-/changes.xml/1.138.2.87/Wed Feb 19 00:36:46 2003//Tcocoon_2_0_3_branch
-/todo.xml/1.28.2.8/Wed Feb 19 00:36:46 2003//Tcocoon_2_0_3_branch
-/build.xml/1.196.2.28/Sat Mar  8 06:57:22 2003//Tcocoon_2_0_3_branch
+{{{
+/changes.xml/1.138.2.87/Wed Feb 19 00:36:46 2003//Tcocoon_2_0_3_branch
+/todo.xml/1.28.2.8/Wed Feb 19 00:36:46 2003//Tcocoon_2_0_3_branch
+/build.xml/1.196.2.28/Sat Mar  8 06:57:22 2003//Tcocoon_2_0_3_branch
 }}}
 
 This can be done with another 'find' command:
-{{find . -name "CVS" -type d -exec perl -i -pe 's:/Tcocoon_2_0_3_branch$:/:g' {}/Entries \;}}
+{{{find . -name "CVS" -type d -exec perl -i -pe 's:/Tcocoon_2_0_3_branch$:/:g' {}/Entries \;}}}
 
 ==  Delete CVS/Tag (cocoon-2.0) ==
 
 Also only applicable for converting to 'cocoon-2.0' module.
 
-Each {{{CVS}}} directory will have a {{{CVS/Tag}}} file, containing the directory tag ('cocoon_2_0_3_branch').  These should simply be deleted with something like {{find . -name "CVS" -type d -exec rm {}/Tag \;}}
+Each {{{CVS}}} directory will have a {{{CVS/Tag}}} file, containing the directory tag ('cocoon_2_0_3_branch').  These should simply be deleted with something like {{{find . -name "CVS" -type d -exec rm {}/Tag \;}}}
 
 [[BR]]
 You can now do a {{{cvs update}}} on these repositories, and hopefully they should update. For some reason, CVS insists on updating (U) each file, but even so, this is faster than a full checkout.