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

Re: [svn] viewing of html files via browser

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-30 14:15:02 CEST

On 8/30/07, Mike A. <mikealim@gmail.com> wrote:
> Thanks for this Mark. Maybe thats what I should do, just inform the user
> about the autoprops config. Anyway, just another question, I tried it out in
> one of our html file and noticed that css file are not interpreted (results
> to html file not displaying properly), is this really the case?

Same root cause. Set the svn:mime-type on the CSS files to text/css
and it should work. Lather, rinse, repeat for text/javascript (JS
files), your images (image/gif, image/png, image/jpeg) and so on.

IMHO, the more metadata I can put into my repository regarding "what"
a file is, the better - so I try to apply a mime-type on every file
possible. It just so happens that this has a few side benefits when
viewing the "bare" repository via a web browser.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 30 14:12:27 2007

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.