Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 36906 invoked from network); 7 Dec 2010 04:17:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Dec 2010 04:17:11 -0000 Received: (qmail 40115 invoked by uid 500); 7 Dec 2010 04:17:11 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 39763 invoked by uid 500); 7 Dec 2010 04:17:08 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 39756 invoked by uid 99); 7 Dec 2010 04:17:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 04:17:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 04:17:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 44D0A23889E9; Tue, 7 Dec 2010 04:16:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1042908 - /commons/proper/commons-site/trunk/src/site/xdoc/patches.xml Date: Tue, 07 Dec 2010 04:16:47 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101207041647.44D0A23889E9@eris.apache.org> Author: sebb Date: Tue Dec 7 04:16:46 2010 New Revision: 1042908 URL: http://svn.apache.org/viewvc?rev=1042908&view=rev Log: Patches should be relative to the project root. Modified: commons/proper/commons-site/trunk/src/site/xdoc/patches.xml Modified: commons/proper/commons-site/trunk/src/site/xdoc/patches.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-site/trunk/src/site/xdoc/patches.xml?rev=1042908&r1=1042907&r2=1042908&view=diff ============================================================================== --- commons/proper/commons-site/trunk/src/site/xdoc/patches.xml (original) +++ commons/proper/commons-site/trunk/src/site/xdoc/patches.xml Tue Dec 7 04:16:46 2010 @@ -67,7 +67,7 @@

Please try and restrict patches to the minimum necessary to implement the change. - If there are a lot of irrelevant formatting or other changes, it make it much harder to review + If there is a lot of irrelevant formatting or other changes, it makes it much harder to review the patch, and it may be rejected.

@@ -105,6 +105,15 @@

The patch should be in unified format. You can create a patch in this format (from Subversion) by using: svn diff File > patchfile
+

+

+ The patch should be created from the project root, i.e. the directory which contains the src/ folder + and the main Maven pom.xml file. This ensures that the proper relative path names are included, and + makes it easier to apply the patch to the correct file (there can be several files with the same name in a project). + If using Eclipse to create the patch, set "Patch Root" to "Project" - not the default "Workspace". + [Workspace-relative patches are not portable unless exactly the same project names are used.] +

+

Try to give your patch files meaningful names. This makes it easier for developers who need to apply a number of different patches.