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

Re: Including instead of ignoring files

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-10-05 13:50:36 CEST

On Wednesday 05 October 2005 13:46, kynn@panix.com wrote:
> I find that, at any given time in my current directory there are more
> files that I don't want to put under version control. I'm aware of
> svn:ignore property, but I find it very inconvenient to have to
> register the more numerous files that I want ignored; I'd much prefer
> to specifically list those relatively few files that I want under
> version control.
>
> The only workaround I can think of (and which I really don't like) is
> to get in the habit always naming my many non-repository-bound files
> with a leading underscore, and adding the pattern _* to the svn:ignore
> property.
>
> The reason I don't like this particular workaround (aside from a
> visceral aversion to giving most of my files and directories
> odd-looking names) is having to perform this configuration for every
> project directory and all the subdirectories below it. What a pain.
> Is there a way to specify a default value for svn:ignore once and for
> all?
>
> Or better yet, is there a better way to work around the problem of
> having to maintain huge lists of files to ignore for each directory?
How about setting
        svn:ignore = *
and manually adding the files you need with "svn add"?
You can set that in your ~/.subversion/config file.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 5 13:52:55 2005

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.