[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 09:53:39 -0500

On Thu, Feb 28, 2008 at 2:36 AM, Ryan Schmidt <
subversion-2008a_at_ryandesign.com> wrote:

> First of all, it's called "svn:eol-style" (not "eol:style").
>

good catch there.

> Second, it's a file property, not a revision property. You do not
> need a pre-revprop-change hook, because you're not going to be
> changing a revision property.

i dont see anything here that specifically says, svn:eol-style
cannot be used as a revision property
http://svnbook.red-bean.com/en/1.0/ch07s02.html

> Go to a working copy and set the svn:eol-style property of the file
> whose line endings you want to specify. For example:
>
> cd working-copy
> svn propset svn:eol-style native foo.txt
> svn ci -m "foo.txt: setting svn:eol-style to native"

i must have some disconnect regarding usage of these properties..
is there no way to say, i want all files in this repository, beneath this
directory to have their eol managed by the subversion?
what about new files? if i create a file and add it to the repository,
without specifying the svn:eol-style property on it, will the eol style
on the file not be managed by the repository? thats ridiculous,
considering users may be creating files on their own.. thats
asking users to get involved in administration tasks; eww.

-nathan
Received on 2008-02-28 15: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.