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

Re: Re: svn:global-ignores

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Wed, 11 Sep 2013 22:41:39 +0100

On 11 September 2013 21:16, Bob Archer <Bob.Archer_at_amsi.com> wrote:
>> Ah-ha! I'm using a web-based host for collaboration reasons, and I haven't
>> found the global-ignores option there.
>> Currently (and this may be inefficient), I do the following:
>> 1) Import a new project to the web-host.
>> 2) Check-out a working copy to my computer.
>> 3) Adjust the ignore settings on my working folder
>> 4) Commit the folder, which then deletes/unversions the ignored files.
>> This is OK as my projects are small. I wonder if there's a better way.
> Global ignores is a client configuration item, NOT a server configuration item. It's "global" to the CLIENT, ie all the working copies you use on that client. So, you should be able to edit your client config file to add your ignore.
> If you want it global to everyone using the repository you can put svn:global-ignores of the repository root folder, and it should propagate to all your projects. As long as your users have access to read the root folder, the svn:global-ignores should apply to every thing imported and added to that repository.

Just to confuse you there are two global ignores in subversion. The
one Bob is talking about is accessed from the TSVN settings dialog and
is local to that machine but affects all working copies. The
svn:global-ignore property works in almost the same way as the
svn:ignore property except that it is inherited by all child folders.
It is perhaps ill-named, being more of a recursive-ignore, and for
this reason the TSVN menu refers to it as 'ignore recursively'.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-11 23:41:47 CEST

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

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