Configuring Subversion

To ensure that $Id$ tags are converted, and to ensure that line endings of your files are compatible with your operating system, you must ensure that you have the following settings configured in your Subversion client:

[miscellany]
enable-auto-props = yes

[auto-props]
*.php = svn:eol-style=native;svn:keywords=Id
*.txt = svn:eol-style=native;svn:keywords=Id
*.js = svn:eol-style=native;svn:keywords=Id
*.css = svn:eol-style=native;svn:keywords=Id
*.tpl = svn:eol-style=native;svn:keywords=Id
*.html = svn:eol-style=native;svn:keywords=Id
*.sql = svn:eol-style=native;svn:keywords=Id
*.xml = svn:eol-style=native;svn:keywords=Id
*.xsl = svn:eol-style=native;svn:keywords=Id
*.java = svn:eol-style=native;svn:keywords=Id
*.properties = svn:eol-style=native;svn:keywords=Id
*.jsp = svn:eol-style=native;svn:keywords=Id
*.vm = svn:eol-style=native;svn:keywords=Id
*.tag = svn:eol-style=native;svn:keywords=Id
*.sh = svn:eol-style=native;svn:keywords=Id

To set these values:

  • On Linux/Unix, edit your $HOME/.subversion/config file.
  • On Windows, when using TortoiseSVN, right-click on a folder that is a Subversion checkout, select "Settings", and then then "Edit" button, which will let you edit the client configuration file.

Labels

 
(None)