How about doing the dirty checks on sub-directories only? This way I can keep the random .patch files & miscellany around in the root.
The IDE files are a special circumstance for my setup because I use symbolic links to the IDE files in dev-tools so that I can easily see how my IDE setup is different than the one in source control, and more easily commit desirable 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 check :-) ~ David On Nov 26, 2012, at 11:09 AM, Michael McCandless wrote: > I think the idea is to catch files you forgot to svn add. > > For IDE files, you should just svn ignore them? > > Mike McCandless > > http://blog.mikemccandless.com > > On Mon, Nov 26, 2012 at 9:46 AM, David Smiley (@MITRE.org) > <dsmi...@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 rather >> 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 usually >> 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 annoying >> though, and the 4x port is yet another step. There sure is a lot of burden >> to getting commits in. I no longer care to improve little javadoc and typo >> stuff. >> >> ~ David >> >> >> >> ----- >> Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/ant-precommit-annoyed-with-checkout-is-dirty-tp4022362.html >> Sent from the Lucene - Java Developer mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org