Setting up Subversion for Tango
Paths
The subversion paths for Tango are
- http://svn.dsource.org/projects/tango/trunk
- http://svn.dsource.org/projects/tango/branches
- http://svn.dsource.org/projects/tango/tags
Linefeeds on different platforms
The different operating systems on which Tango can be compiled use different character sequences to represent line endings. To make everybody's lives easier all the text files in the project should have the Subversion svn:eol-style property set to native. You can change this setting by doing:
svn propset svn:eol-style native <filename>
A complete description of what this property does can be found here. If setting this property for each file is too much of a hassle, you can use this script to set them for you.
There is also a way to tell Subversion to automatically set this property (and other ones like each file's MIME type) for every new file that is added to the repository via the auto-props mechanism. On Linux you just have to add these lines to your $HOME/.subversion/config file:
[miscellany] enable-auto-props = yes
After this section you need to add an auto-props section with all the properties that you want to set for each file extension. There is a sample configuration file attached below.
For a complete description of what can be done with auto-props you can check Subversion's manual.
Attachments
- config (4.6 kB) -
Sample Subversion configuration with auto-props
, added by jcomellas on 06/28/06 03:27:55. - set-tango-eol-style.sh (203 bytes) -
Script to set the svn:eol-style property for the Tango project
, added by jcomellas on 06/28/06 14:02:01.