SVN AutoProps

From WowAce Wiki
Jump to: navigation, search

To enable Subversion automatic property setting:

If Linux, edit $HOME/.subversion/config.

If TortoiseSVN, go into the TortoiseSVN Settings dialog, in the General panel, click on the "Edit..." button next to "Subversion configuration file:". Make sure your file is saved under config (lowercase) and NOT config.txt !

If using the Windows command line subversion client, in the user's application area there is a directory Subversion where you can have a 'config' file.

Ensure the following, at a minimum, is set:

enable-auto-props = yes

*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.tga = svn:mime-type=image/tga

README = svn:mime-type=text/plain;svn:eol-style=native
*.cmd = svn:mime-type=text/plain;svn:eol-style=CRLF
*.bat = svn:mime-type=text/plain;svn:eol-style=CRLF
*.lua = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Revision Date
*.rtf = svn:mime-type=text/rtf;svn:eol-style=native
*.sh = svn:mime-type=text/plain;svn:eol-style=LF;svn:executable
*.toc = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Revision Date
*.txt = svn:mime-type=text/plain;svn:eol-style=native
*.xml = svn:mime-type=text/xml;svn:eol-style=native
*.pkgmeta = svn:mime-type=text/plain;svn:eol-style=native

Read the Subversion book (, Chapter 7, Properties section, Automatic Property Setting subsection for more help.