You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Davide Giannella <da...@apache.org> on 2015/01/26 10:13:03 UTC

Re: svn commit: r1654266 - in /jackrabbit/oak/branches/1.0: oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/...

On 23/01/2015 16:54, reschke@apache.org wrote:
> Author: reschke
> Date: Fri Jan 23 16:54:35 2015
> New Revision: 1654266
>
> URL: http://svn.apache.org/r1654266
> Log:
> fix svn:eol-style
>
I always found annoying the svn/eol thingy so starting from a chat with
Julian I started a bit of research. While in svn it's not possible to
change the content of the commit before actually storing it (0), it's
possible to inject a hook which will enforce the client to have the
proper settings on the client side (1).

(0)
http://stackoverflow.com/questions/5671406/force-svneol-style-native-on-the-server
(1)
http://stackoverflow.com/questions/2509803/how-to-avoid-mixed-eol-styles-in-a-svn-repository

Don't know if it's possible on apache svn to add hooks, but if it would
be so, what are your thoughts on the introduction of such hook?

Cheers
Davide



Re: svn commit: r1654266 - in /jackrabbit/oak/branches/1.0: oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/...

Posted by Julian Reschke <ju...@gmx.de>.
On 2015-01-26 10:13, Davide Giannella wrote:
> On 23/01/2015 16:54, reschke@apache.org wrote:
>> Author: reschke
>> Date: Fri Jan 23 16:54:35 2015
>> New Revision: 1654266
>>
>> URL: http://svn.apache.org/r1654266
>> Log:
>> fix svn:eol-style
>>
> I always found annoying the svn/eol thingy so starting from a chat with
> Julian I started a bit of research. While in svn it's not possible to
> change the content of the commit before actually storing it (0), it's
> possible to inject a hook which will enforce the client to have the
> proper settings on the client side (1).
>
> (0)
> http://stackoverflow.com/questions/5671406/force-svneol-style-native-on-the-server
> (1)
> http://stackoverflow.com/questions/2509803/how-to-avoid-mixed-eol-styles-in-a-svn-repository
>
> Don't know if it's possible on apache svn to add hooks, but if it would
> be so, what are your thoughts on the introduction of such hook?
>
> Cheers
> Davide

Sounds very good to me.

Best regards, Julian