Note: This website is archived. For up-to-date information about D projects and development, please visit

SVN Tips

Batch Property Setting on Command Line

(based on from

On the Windows command line, it'd go something like this:

path = c:\subversion\bin
cd \svn_checked_out\my_project
svn propset -R svn:mime-type text/html trunk\Docs\*.html
svn commit -m "Changed mime-types on html"

Configuring TortoiseSVN to Add the Property when the File is added


Go to TortoiseSVN:settings:Subversion Config File: Edit.

Remove the commenting (# marks) for the following lines:

enable-auto-props = yes
*.html = svn:mime-type=text/html

Important! The following line must remain commented out:

#*.html = svn:mime-type=text/htm

Only applies to adds, not to updates.