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

Re: HTML pages in subversion

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-04-23 14:46:50 CEST

On Wednesday, April 23, 2003, at 02:36 AM, Elias Sinderson wrote:

> Hi,
>
> I've looked in the available documentation and haven't been able to
> sort this one...
>
> When I browse to a HTML file in my repository (hosted with Apache) I
> get the raw HTML in my browser window as opposed to nice, pretty, web
> pages. Any suggestions?

you need to set the svn:mime-type property on the file to text/html.

something like:

$ svn pset svn:mime-type text/html my-html-file.html

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 23 14:47:35 2003

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

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