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

Re: repository-wide global ignores (FAQ?)

From: Jay Berkenbilt <ejb_at_ql.org>
Date: 2005-02-10 21:25:01 CET

Ben Collins-Sussman <sussman@collab.net> wrote:

> 1. set the svn:ignore property on particular directories. All
> clients notice this property and honor it.
>
> 2. set the 'global-ignores' variable in each client's run-time
> 'config' file.
>
> There is currently no way to make the server "broadcast" global-ignore
> patterns to all clients.

Okay, this is what it looked like from the documentation. Thanks for
the confirmation. Do you think there would be any interest in adding
this functionality? If so, maybe I'll join -dev and post the
suggestion there.

In the mean time, I'll probably work around this by creating a wrapper
around svn status that detects any files that would be ignored by our
policy and automatically adds them to svn:ignore on the directory
first; then reruns svn status a second time. Of course, if the
svn:ignore property changed from the first pass, the local directory
properties will show as changed, but that's exactly what should
happen.

I might be able to convince myself that this is actually better than
repository-wide global ignores because global ignores at the
repository level would not be versioned along with the data. On the
other hand, client-specific config files are even worse in that
respect.

-- 
Jay Berkenbilt <ejb@ql.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 10 21:27:47 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.