Topaz/Ambra Subversion Setup
Subversion Config file
Please add/replace the following information in the subversion config file of the subversion client you are using. Also attached to this page is a complete example subversion configuration file for clients that do not provide one.
[miscellany] enable-auto-props = yes [auto-props] *.java = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.py = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.pl = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.pm = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.html = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.txt = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.sql = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.css = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.jsp = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.js = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.ftl = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xml = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.dtd = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xsd = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xsl = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xslt = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.wsdd = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.wsdl = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.rdf = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.owl = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xmap = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.xconf = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.pom = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.ini = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.nsi = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.nsh = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.properties = svn:eol-style=native;svn:keywords=Id HeadURL Revision *.exe = svn:executable *.sh = svn:eol-style=native;svn:executable *.bat = svn:eol-style=CRLF;svn:executable
Note that the svn:keywords=Id HeadURL Revision configuration allows keyword expansion in added or imported files as documented in the subversion book.
WARNING: If you are adding files to svn, please get in the habit of making sure all text files have the svn:eol-style properity with the value 'native'. This can be most easily accomplished by enabling the setting enable-auto-props=yes and uncommenting the [auto-props] section in your subversion configuration file (what this does is say "apply the specified properties to the given files whenever a file is added to subversion" - this does not affect files that you checkout).
Config file location for subversion clients
- Linux: ~/.subversion/config
- Windows Cygwin: $HOME/.subversion/config or /cygwin/etc/subversion/config
- Window TortoiseSVN: $HOME/ApplicationData/Subversion/config
Attachments
- config (5.8 kB) -
Added an example subversion configuration file.
, added by amit on 04/15/08 18:56:44.
