[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Svn:ignore property and subfolders

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-18 20:02:07 CEST

On Oct 18, 2007, at 10:41, Bicking, David (HHoldings, IT) wrote:

> Rob van Oostrum wrote:
>
>> On 10/18/07, Bicking, David (HHoldings, IT) wrote:
>>
>>> My experiementation tells me that I cannot specify an ignore
>>> property
>>> at a root folder that is effective for all subfolders. Am I
>>> correct,
>>> or merely failing to define the proper RegEx?
>>>
>>> I want to define "svn:ignore" on "/MyProject", such that the
>>> files and
>>> folders will be excluded for everything below that folder without
>>> setting a property on every subfolder. Thus, "*.user" would be
>>> ignored everywhere, not just in "/MyProject".
>>
>> as far as I'm aware, you are correct, and what you want is
>> not supported.
>
> So, I guess that means I cannot define some way to automatically
> ignore
> garbage from imported projects, and must continue to clear those files
> out before I import. Visual Studio produces lots of garbage, like
> *.suo, *.user, bin/, obj/, *.scc, etc. that I do not expect many
> people
> to remember to remove before the initial import. How do I go about
> initiating a feature request?

You could install a pre-commit hook preventing the commit of any
*.suo, *.user or *.scc file, or bin/ or obj/ directory. You can print
an error message reminding the user to remove those files before
committing.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 18 20:04:57 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.