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

Re: Some questions about svn:mime-type and svn:eol-style

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-06-09 09:54:14 CEST

On Thu, 09 Jun 2005 03:14:11 +0200, Stefan Weiss <spaceman@foo.at>
wrote:

>Or is there a way to tell
>SVN that all "text" file types should have svn:eol-style=native (and
>possibly other properties, like keywords)?

No, but you could have a pre-commit hook that will reject any commits
of text files that don't have svn:eol-style=native

How you define 'text files' is up to you, but I'd suggest the easiest
way would be by file extension of svn:mime-type.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 9 09:58:05 2005

This is an archived mail posted to the Subversion Users mailing list.