AFAIK if you set svn:ignore * then it won't ignore files and directories that 
are in source control.

~ David

On Nov 26, 2012, at 1:41 PM, sarowe [via Lucene] wrote:

I've always put patches up one level from checked out dirs: svn diff > 
../PROJECT-NNNN.patch; patch -p0 < ../PROJECT-NNNN.patch.

For stuff that should be ignored by everybody (or that wouldn't cause trouble 
for others), we could add them to the svn:ignore list for the directory they're 
in?

Alternatively, I'd support a set of individually-settable wildcard exceptions 
to the dirty-is-bad rule, maybe via a sysprop?

Steve

On Nov 26, 2012, at 1:30 PM, "Smiley, David W." <[hidden 
email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=0>> wrote:

> 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<http://blog.mikemccandless.com/>
>>
>> On Mon, Nov 26, 2012 at 9:46 AM, David Smiley (@MITRE.org)
>> <[hidden email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=1>> 
>> 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<http://Nabble.com>.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden 
>>> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=2>
>>> For additional commands, e-mail: [hidden 
>>> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=3>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden 
>> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=4>
>> For additional commands, e-mail: [hidden 
>> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=5>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=6>
> For additional commands, e-mail: [hidden 
> email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=7>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=8>
For additional commands, e-mail: [hidden 
email]<x-msg://149/user/SendEmail.jtp?type=node&node=4022419&i=9>



________________________________
If you reply to this email, your message will be added to the discussion below:
http://lucene.472066.n3.nabble.com/ant-precommit-annoyed-with-checkout-is-dirty-tp4022362p4022419.html
To unsubscribe from ant precommit; annoyed with "checkout is dirty", click 
here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4022362&code=RFNNSUxFWUBtaXRyZS5vcmd8NDAyMjM2MnwxMDE2NDI2OTUw>.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>





-----
 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-tp4022362p4022431.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

Reply via email to