Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@www.apache.org Received: (qmail 95033 invoked from network); 13 Oct 2007 04:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2007 04:14:02 -0000 Received: (qmail 48112 invoked by uid 500); 13 Oct 2007 04:13:50 -0000 Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 48095 invoked by uid 500); 13 Oct 2007 04:13:50 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@perl.apache.org List-Id: Delivered-To: mailing list modperl-cvs@perl.apache.org Received: (qmail 48084 invoked by uid 99); 13 Oct 2007 04:13:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 21:13:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Oct 2007 04:13:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4329D1A9832; Fri, 12 Oct 2007 21:13:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r584365 - in /perl/modperl/trunk: BRANCHING build/svn.remerge Date: Sat, 13 Oct 2007 04:13:01 -0000 To: modperl-cvs@perl.apache.org From: gozer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071013041301.4329D1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gozer Date: Fri Oct 12 21:13:00 2007 New Revision: 584365 URL: http://svn.apache.org/viewvc?rev=584365&view=rev Log: Update SVN merging instructions to svnmerge best usage. Removed: perl/modperl/trunk/build/svn.remerge Modified: perl/modperl/trunk/BRANCHING Modified: perl/modperl/trunk/BRANCHING URL: http://svn.apache.org/viewvc/perl/modperl/trunk/BRANCHING?rev=584365&r1=584364&r2=584365&view=diff ============================================================================== --- perl/modperl/trunk/BRANCHING (original) +++ perl/modperl/trunk/BRANCHING Fri Oct 12 21:13:00 2007 @@ -1,53 +1,81 @@ This doc explains how to create/work/re-merge svn branches ####################################### -### make a new branch ### +### PREREQUISITE ### ####################################### -we will create a branch clone-skip-unstable +You need to have svnmerge installed and working +before you can proceed with rest of the instructions. -tag before the branch: +You can find it here: - svn copy https://svn.apache.org/repos/asf/perl/modperl/trunk \ - https://svn.apache.org/repos/asf/perl/modperl/tags/pre-clone-skip \ - -m "tag before branching for CLONE_SKIP support" +http://www.orcaware.com/svn/wiki/Svnmerge.py + +####################################### +### make a new branch ### +####################################### + +we will create a branch mybranch branch: svn copy https://svn.apache.org/repos/asf/perl/modperl/trunk \ - https://svn.apache.org/repos/asf/perl/modperl/branches/clone-skip-unstable \ - -m "branching to provide CLONE_SKIP support" + https://svn.apache.org/repos/asf/perl/modperl/branches/mybranch \ + -m "creating mybranch" check out: - svn co https://svn.apache.org/repos/asf/perl/modperl/branches/clone-skip-unstable mp2-clone-skip-unstable + svn co https://svn.apache.org/repos/asf/perl/modperl/branches/mybranch change externals to point to the new A-T branch (if one was done) svn propedit svn:externals . -####################################### -### sync the branch with the trunk ### -####################################### +initialize svnmerge tracking in the branch (if you plan to pull trunk/ changes into the branch) -the branch was created @r165203 +mybranch/ $> svnmerge init +property 'svnmerge-integrated' set on '.' +mybranch/ $> svn ci -F svnmerge-commit-message.txt - svn co https://svn.apache.org/repos/asf/perl/modperl/branches/clone-skip-unstable \ - mp2-clone-skip-unstable - cd mp2-clone-skip-unstable - svn propset merge-point 165203 . - build/svn.remerge -now resolve any conflicts and commit the changes +initialize svnmerge tracking on the trunk: -from now on, all you need to do is to run: +trunk/ $> svnmerge init https://svn.apache.org/repos/asf/perl/modperl/branches/mybranch +property 'svnmerge-integrated' set on '.' +mybranch/ $> svn ci -F svnmerge-commit-message.txt - build/svn.remerge -as it automatically sets the merge-point during the last run +############################################## +### merging changes from branch to brahch ### +############################################## +Work from a clean checkout of the branch you want to merge *to* -####################################### -### merge the branch into the trunk ### -####################################### +Check on the availability of changes to merge + +$> svnmerge avail -b -l + +------------------------------------------------------------------------ +r584362 | gozer | 2007-10-12 21:00:47 -0700 (Fri, 12 Oct 2007) | 1 line +Changed paths: + A /perl/modperl/branches/mybranch (from /perl/modperl/trunk:584361) + +creating mybranch +------------------------------------------------------------------------ +r584363 | gozer | 2007-10-12 21:05:32 -0700 (Fri, 12 Oct 2007) | 3 lines +Changed paths: + M /perl/modperl/branches/mybranch + +Initialized merge tracking via "svnmerge" with revisions "1-584361" from +https://svn.apache.org/repos/asf/perl/modperl/trunk + +Then merge the ones you want to merge + +$> svnmerge -r 584362-584363 + +review the changes, fix conflicts, etc + +Check in the merged version + +$> svn ci -F svnmerge-commit-message.txt