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

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

From: LANDRAIN Jean-Pol <jplandrain_at_europarl.eu.int>
Date: 2006-03-14 12:12:16 CET

I have to agree with Res. I've tried to use auto props too and it wasn't
flexible enough to integrate in my environment. In fact, the current way
to do it looks more like a workaround for a feature that has been
forgotten by the developers. Something on the server would be better (a
true recursive property that's automatically applied when you add a file
under a directory that has this property set ?)

Regards,
Jean-Pol.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: 14 March 2006 11:56
To: Res Pons
Cc: mengland@mengland.net; tmorris@tmorris.net;
users@subversion.tigris.org
Subject: Re: Standardize on ASCII type: dos2unix pre-commit hook?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 14 12:14:10 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.