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

svn:mime-type with charset in auto-props

From: Maciek Starzyk <mstarzyk_at_gmail.com>
Date: 2006-10-03 14:46:55 CEST

Hi,
Is there a way to specify the default mime-type together with charset for
new files in svn config auto-props ?
Setting mime-type from commandline works OK:

svn propset svn:mime-type "text/plain;charset=cp1250" ala.txt

I am trying to set this in config auto-props, like this:

[auto-props]
*.txt = svn:mime-type=text/plain;svn:charset=cp1250

But then each new *.txt files gets two properties:
svn:mime-type=text/plain
charset=cp1250

I tried all kinds of quoting the property value, but nothing worked.
Please let me know if there is a way to do this correctly.

Thanks,

-- 
Maciek Starzyk
Received on Tue Oct 3 14:47:47 2006

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.