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

Re: Question (global ignores)

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-12-12 21:22:16 CET

Please include a useful subject. Over 99% of the threads on this list
could be given a subject of "Question" and such a subject becomes
utterly useless in list archives. See also
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

On Dec 12, 2007 3:10 PM, John Clark <jclark@redcard.com> wrote:
> This question seems to have been asked before but never answered in a way
> that I understand.
>
>
>
> Simply put – is there a way to set the global-ignores to work for any / all
> users globally. The end goal being – we hire a new developer – he installs
> some svn client (we happen to be using SmartSVN) and his ignores are all
> set? The key is "without" the developer having to make any additional
> settings.

No. There is, at present, no way to configure client settings globally
via the Subversion server.

> So – if svn:ignore is something to set on a "working copy" – and I need
> something that applies to a repository itself - It seems like settings
> "global-ignores" in …\Application Data\Subversion\config would be the
> answer. But I try that in every config document we have on the SVN server
> and none seem to impact the results. Maybe my question is "which" config
> file should I be configuring to get the ignores to truly be global?

svn:ignore is a versioned property of directories. It is normally set
by manipulating a working copy, then committing.

%APPDATA%\Subversion\config is the local user's Subversion client
settings. Changing this on the server will not do anything for remote
users.

global-ignores in your configuration file will not change svn:ignore
on the versioned items at all. It will suppress the display of status
information on files which match those patterns, and bypass
adding/importing files which match those patterns when you perform svn
add and svn import on a directory.

There is no way to set client configuration options from the server.
If you have particular policies which you need to enforce, they must
be enforced by a pre-commit hook script which will reject any commit
which does not adhere to those policies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 21:22:36 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.