Monday, March 5, 2012

Subversion: Setting the MIME Type Property

As I'm tired of having to look this up every now and then when I need it, here's an example for how to add the MIME type for a file in Subversion:

 $ svn propset svn:mime-type "text/html" src/site/resources/design.html

The above command will cause the HTML file to be loaded as HTML in a browser when it is linked to in Subversion in the event your browser would like to display it as plain text.

2 comments:

  1. Intellectual property is a location of the regulation which is constantly modifying and can be fairly complicated.

    Home Rental Companies

    ReplyDelete
  2. A great blog and very helpfull post. I really like it.

    ReplyDelete