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

Re: pre-revprop-change

From: Nathan Nobbe <quickshiftin_at_gmail.com>
Date: Thu, 28 Feb 2008 19:53:34 -0500

On Thu, Feb 28, 2008 at 5:46 PM, Ryan Schmidt <
subversion-2008a_at_ryandesign.com> wrote:

> There's also nothing there that says svn:eol-style cannot be used to
> bring about world peace but I don't think it would help that
> either. :) Do note that you're looking at the obsolete version of the
> book for Subversion 1.0. This is the book for Subversion 1.4 which I
> think separates the two types of properties better:
>
> http://svnbook.red-bean.com/en/1.4/svn.ref.properties.html
>

well that does clarify it quite a bit.

Without commenting on whether or not it's ridiculous, the solution we
> have today is:
>
> 1) Set up auto-props in the Subversion config file on each client
> according to the rules of your organization. For example, if you want
> all .txt files to have svn:eol-style set to native, add an auto-props
> rule "*.txt = svn:eol-style=native".
>
> 2) Install a pre-commit hook in the repository which rejects the
> commit of any file that does not conform to your rules. In the error
> message that such a hook prints, you can do whatever you like, for
> example direct users to a web site where they can download a pre-made
> config file that's set up the way you want your users to set things up.

maybe i overreacted a bit; its that 2am and i still havent got it stress :D
anyway, ill probly look into a solution similar to the one you described
above.

thanks,

-nathan
Received on 2008-02-29 01:54:06 CET

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.