Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 29130 invoked from network); 2 Jul 2004 12:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jul 2004 12:31:10 -0000 Received: (qmail 84568 invoked by uid 500); 2 Jul 2004 12:31:11 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 84412 invoked by uid 500); 2 Jul 2004 12:31:07 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 84372 invoked by uid 99); 2 Jul 2004 12:31:06 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 02 Jul 2004 05:31:05 -0700 Received: (qmail 29097 invoked from network); 2 Jul 2004 12:31:02 -0000 Received: from localhost.hyperreal.org (HELO minotaur.apache.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 2 Jul 2004 12:31:02 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: docs@cocoon.apache.org To: docs@cocoon.apache.org Subject: =?iso-8859-1?q?=5BCocoon_Wiki=5D_Updated=3A__CVSMigration?= Date: Fri, 02 Jul 2004 12:31:02 -0000 Message-ID: <20040702123102.29091.80949@minotaur.apache.org> X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2004-07-02T05:31:02 Editor: UgoCei 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 \;}}} = =3D=3D Delete CVS/Tag (cocoon-2.0) =3D=3D = Also only applicable for converting to 'cocoon-2.0' module. = -Each {{{CVS}}} directory will have a {{{CVS/Tag}}} file, containing the di= rectory tag ('cocoon_2_0_3_branch'). These should simply be deleted with s= omething like {{find . -name "CVS" -type d -exec rm {}/Tag \;}} +Each {{{CVS}}} directory will have a {{{CVS/Tag}}} file, containing the di= rectory tag ('cocoon_2_0_3_branch'). These should simply be deleted with s= omething like {{{find . -name "CVS" -type d -exec rm {}/Tag \;}}} = [[BR]] You can now do a {{{cvs update}}} on these repositories, and hopefully the= y should update. For some reason, CVS insists on updating (U) each file, bu= t even so, this is faster than a full checkout.