Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 B8404E7E4 for ; Mon, 26 Nov 2012 18:30:55 +0000 (UTC) Received: (qmail 64279 invoked by uid 500); 26 Nov 2012 18:30:54 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 64232 invoked by uid 500); 26 Nov 2012 18:30:54 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 64223 invoked by uid 99); 26 Nov 2012 18:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 18:30:54 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.49.146.77] (HELO smtpksrv1.mitre.org) (198.49.146.77) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 18:30:48 +0000 Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 990DA53100C6 for ; Mon, 26 Nov 2012 13:30:27 -0500 (EST) Received: from IMCCAS03.MITRE.ORG (imccas03.mitre.org [129.83.29.80]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 71D811F0A72 for ; Mon, 26 Nov 2012 13:30:27 -0500 (EST) Received: from IMCMBX04.MITRE.ORG ([169.254.4.141]) by IMCCAS03.MITRE.ORG ([129.83.29.80]) with mapi id 14.02.0318.004; Mon, 26 Nov 2012 13:30:27 -0500 From: "Smiley, David W." To: "" Subject: Re: ant precommit; annoyed with "checkout is dirty" Thread-Topic: ant precommit; annoyed with "checkout is dirty" Thread-Index: AQHNy+TePTMjPQXDgUeno0s8URAYGpf8nLgAgAAnloA= Date: Mon, 26 Nov 2012 18:30:26 +0000 Message-ID: References: <1353941184623-4022362.post@n3.nabble.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.83.31.55] Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org How about doing the dirty checks on sub-directories only? This way I can k= eep the random .patch files & miscellany around in the root. The IDE files are a special circumstance for my setup because I use symboli= c links to the IDE files in dev-tools so that I can easily see how my IDE s= etup is different than the one in source control, and more easily commit de= sirable changes. I might stop doing this if this were the only thing in my= way from "ant precommit". FWIW my solution has been to modify the build script to not do the dirty ch= eck :-) ~ David =20 On Nov 26, 2012, at 11:09 AM, Michael McCandless wrote: > I think the idea is to catch files you forgot to svn add. >=20 > For IDE files, you should just svn ignore them? >=20 > Mike McCandless >=20 > http://blog.mikemccandless.com >=20 > On Mon, Nov 26, 2012 at 9:46 AM, David Smiley (@MITRE.org) > wrote: >> "ant precommit" will check if the source tree is "dirty" (i.e. contains = files >> not in source control) and stop with a failure if so. I find that rathe= r >> annoying since I've usually got a variety of .patch files and IDE config >> changes. What is the rationale behind this check? How do people usuall= y >> deal with it? Perhaps if I do my real development on another checkout (= git >> based), I could then patch on the svn one for the commit. Pretty annoyi= ng >> though, and the 4x port is yet another step. There sure is a lot of bur= den >> to getting commits in. I no longer care to improve little javadoc and t= ypo >> stuff. >>=20 >> ~ David >>=20 >>=20 >>=20 >> ----- >> Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/b= ook >> -- >> View this message in context: http://lucene.472066.n3.nabble.com/ant-pre= commit-annoyed-with-checkout-is-dirty-tp4022362.html >> Sent from the Lucene - Java Developer mailing list archive at Nabble.com= . >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: dev-help@lucene.apache.org >>=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org