[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-13 17:09:09 CET

On Mar 13, 2006, at 16:46, Matt England wrote:

> Does there exist a way to manage this mechanism (svn:eol-style
> property, or anything else) such that "ASCII standarizations" will
> be made regardless of client-side settings?
>
> In other words, is this a client-side setting or a server-side
> setting? Or is this question pertinent?
>
> If it's a client-side setting, then it's not nearly as useful to
> me. This goes back to the general issue I have with subversion
> where I can't manage the properties of clients from a single point
> (namely the server), which would be much more powerful, in my
> opinion. Is there any move afoot for future subversion changes to
> support a single-point-of-client control?

The settings are client-side. Server-side, you have hooks. So the
complete solution is to set up auto-props in the clients' config
files, and install a pre-commit hook which prevents people from
committing things which do not have the correct properties on the
files, possibly referring in the error message to a web page where
the user could download a properly-configured config file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 17:26:17 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.