Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABDD4C4F6 for ; Thu, 5 Jul 2012 08:01:33 +0000 (UTC) Received: (qmail 45066 invoked by uid 500); 5 Jul 2012 08:01:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44362 invoked by uid 500); 5 Jul 2012 08:01:30 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 44321 invoked by uid 99); 5 Jul 2012 08:01:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 08:01:29 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of tiago@espinhas.net does not designate 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 08:01:21 +0000 Received: by eaaq13 with SMTP id q13so3384423eaa.31 for ; Thu, 05 Jul 2012 01:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=espinhas.net; s=espinhas; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=VQOUplWL2jcPql3LWy9RlJkhuIKIXv4CyCfp4fNYqCI=; b=YSzVaNCb32uedG/Hf3vOMmSM6mLKJHneXr2FjvF51WAt/12UGQ8wOkJscFj5vpBetS sWZ5eotQV3JPXejVXMEVGcl3/XjxkMLQtOlWyCPa0bzDErTEvpWRggcqMI/4jnS8Ty6k 2I/MzR9DKm/FwIExMsNE8dA9SN1pgOACMhwRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=VQOUplWL2jcPql3LWy9RlJkhuIKIXv4CyCfp4fNYqCI=; b=LxhTl/z7XUYUOuBr+K9SnNf445qoMQsXWpqBKjIGOblftacaTtqmKvyCzpLISVJHQS jGaInpk1dUO3HJHTHQIa4kF09Bk0neLvypFflMPKso2NdReZpPloWbbAKFAMEXaGf90P 9Gc2tmtPspoEIx5KaUnowi/tx+fuSymdURYcwjFRrnrtn15/qbNv/g2hhutcuk2vuaoa q7mi707zgsSHXvqrakScCv6qW0X/kPZAM9w6fDDt8r1afd3OwoKcEyMKpiLiSYBw++nG 1bVouUeGJzPniLAsa9blv9vduA5YygWQHBVAQoPcMURh4UoJuM4AEJ315gNKd9M0x1Oj 39Yg== Received: by 10.14.99.132 with SMTP id x4mr6234964eef.1.1341475260575; Thu, 05 Jul 2012 01:01:00 -0700 (PDT) Received: from tud12744.tudelft.net (x044168.tudelft.net. [131.180.44.168]) by mx.google.com with ESMTPS id u14sm60442259eem.4.2012.07.05.01.00.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 01:00:59 -0700 (PDT) Message-ID: <4FF549BB.3050806@espinhas.net> Date: Thu, 05 Jul 2012 10:00:59 +0200 From: Tiago Espinha User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Managing multiple patches in eclipse References: <4FF4C27B.6080106@sbcglobal.net> In-Reply-To: <4FF4C27B.6080106@sbcglobal.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk0nYKkKGvwbGNe83lXSfVzj3QtSfY3aN4nOXik7jpqQC/Dvmlrrb71Nik2Q4EJphe/IdPS On 7/5/12 12:23 AM, Katherine Marsden wrote: > On 7/3/2012 6:26 PM, siddharth srivastava wrote: >> Hi >> >> While improvising code coverage, I made a lot of changes in different >> files. Now the changes in each file is a patch in itself. >> So my question was, how do you create/manage diff for multiple issues >> simultaneously. >> The process I have been following now was to make change, create diff, >> revert back and again do the same for next patch. >> But now since I have 8-10 patches, is there a sane way of doing this ? >> > One option is to have multiple work spaces, just svn co to a different > location if you have enough disk space. If your changes are in > distinct files, you can have them all in one work space and create > individual patches with svn diff . I've done that with > two or three, never eight or ten. Probably that is a sign that your > patches are backing up. Do you have a list that needs review and commit? > > Thanks > > Kathey > > > > Two comments I'd like to make: - While I'm a great fan and advocate for Git, I would really stay away from it unless you have previous experience. The terminology is, at first, extremely confusing for SVN users and you will (trust me, you will) lose tremendous amounts of time and possibly code while you get the hang of it. I speak on own experience and on what I see from other people. After you get the hang of it, it's perfect, but I would stick to svn for now. - As for dealing with this kind of thing, pen and paper works best in my experience. Just sort out which files should be patched for each issue, create a big patch and then slice your patch file into smaller patches that just fix that one specific issue. This has the potential to create all kinds of trouble (e.g. the patches interact... the tests only pass when the two patches are applied, etc) and it also requires some care when you are dealing with the patch slicing but all in all, I still found it to be the easiest and fastest approach for me. Tiago