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

Re: I can not do a svn commit

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 21 Jan 2011 19:00:37 -0600

On Jan 21, 2011, at 07:45, Daniela Rivas wrote:

>> That's also correct. If you wanted to see it as a rendered web page, you would need to set the "svn:mime-type" property of that index.html file to the value "text/html".
>
> Ok, so far so good, Could you tell me, what do i have to do to set the
> "svn:mime-type"? I am not an expert in this area.

In your working copy, do this:

svn propset svn:mime-type text/html index.html

Then:

svn commit

You may also want to read up on auto-props (automatic properties) that could set this property automatically for you on all new .html files. And similarly you'd want to set the correct MIME type on images, css files, javascript files, anything else you're using.
Received on 2011-01-22 02:01:30 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.