[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-10 10:01:32 CEST

On Thu, 09 Jun 2005 20:43:06 +0200, Stefan Weiss <spaceman@foo.at>
wrote:

>*Should* I force the developers to always set mime-type and eol-style on
>text files?

I'm afraid I can't answer that; that depends on your local policies,
practices and people.

>Will Subversion still treat a file as a text file after it has been
>assigned the type "application/xml-dtd" (or other "application/" types)?

Unfortunately not. Those svn commands that require text to make any
sense (svn diff, merge, blame, etc.) will no longer have any useful
output. There are other threads discussing this, though I don't think
there's been a consensus as to the best solution. If you need to have
the file treated as text, it will need to be set to one of the
recognised text svn:mime-type's (or no mime-type at all).

>Are pre-commit hooks the only way to ensure that everybody has the
>correct settings, or is there a way to share/spread these settings (per
>project or per server)?

Sharing settings on a per-repository basis has been mooted for a
future release, but there's nothing set in the milestones yet, AFAIK.

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 Fri Jun 10 10:03:55 2005

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.