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

Re: Feature Proposal: Local Ignores

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 10 Feb 2009 19:21:08 -0600

On Feb 10, 2009, at 04:00, Bolstridge, Andrew wrote:

> Or he’s just confused by the terminology – ‘global’ ignores that
> turn out to only apply to your local workstation.

The terminology is that global-ignores apply globally on your
machine, regardless of what repository your working copy is from.

> Personally, I think it makes perfect sense to store this info in
> the repository, this isn’t a distributed SCM, everyone who connects
> expects to be working together, so having the option to (truly)
> globally ignore build objects is a sensible one. It would make
> administering SVN easier in a corporate environment.
> The flaw in the argument below is that only 1 person needs a set of
> ignores for his IDE, but forgets that if another person starts to
> use the same IDE, you have to copy the ignore-list to his
> workstation too (making sure you don’t forget!) or your repo
> suddenly starts to get filled with very large, useless objects.

Ah, but you do not end up with useless objects in your repo if you
write a pre-commit hook preventing the commit of objects you consider
useless. The error message that your pre-commit hook prints can
inform the user how to set up their global-ignores to prevent the
situation in the future.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1136656

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-11 02:22:11 CET

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