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

Re: Standardize on ASCII type: dos2unix pre-commit hook?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-14 11:55:49 CET

On Mar 13, 2006, at 20:24, Res Pons wrote:

> I hope soon there's a server side control feature for this.
> Setting auto props per user just doesn't make any sense to me and
> if user set their own, wouldn't there be a conflict? I tried to
> implement this feature on my server and I was told it yet doesn't
> exist or not possible.

What do you mean, "if user set their own, wouldn't there be a conflict"?

I would suggest that you have a config file which specifies the
automatic properties you want. Distribute this to all users. Then
have a pre-commit hook which rejects files which do not have the
required properties. Then there can be no problem.

Well, of course there can be a problem of a user needing to work with
two different repositories which have two different auto-props
policies. That's not handled well right now. Sure, you can tell the
svn command to use a different config file, but it's tedious and
error-prone to specify that for each and every svn command.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 14 11:57:38 2006

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.