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

Re: [TSVN] Setting SVN properties using the config file

From: Bernhard Schalk <schalkml01_at_mch.osram.de>
Date: 2005-09-08 14:24:03 CEST

Hi Andreas,

Andreas Keil wrote:
> *.tex = svn:mime-type=application/x-tex;svn:eol-style=native
>
> However, only the first property is set, the second one is lost. I think
> that the four extra spaces after "*.tex" (compared to the provided examples)
> are not the source of this problem.
>
> Does anyone have an idea of the correct config file syntax for setting more
> than one property?
>

I think the syntax is correct, but a binary mime type and
eol-style=native are obviously incompatible:

When I do like you did, I get the error (in a TSVN dialog box)
"File 'test.tex' has binary mime type property"
when I add a .tex file.

The file is added anyway, but the svn:eol-style=native is lost.

When I change the config file to
*.tex = svn:mime-type=text/plain;svn:eol-style=native
and add another .tex file everything works just fine, both properties
svn:mime-type and svn:eol-style get added to the file.

According to the section on svn:mime-type in the svn-book you definitely
want to assign a text mime-type to tex-files, since the possibility to
merge them line-based is necessary.

Since I am no expert in mime-types I can not tell if application/x-tex
being interpreted as a binary mime-type is a bug in subversion.

Bye,
Bernhard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Sep 8 14:25:48 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.