SVN Properties

The Subversion version control system supports assigning additional metadata content to files and directories — these are normally called “SVN properties” and there’s a limited range of them that’s actually part of Subversion. Support for custom SVN properties is included in the protocol but Wesnoth-UMC-Dev doesn’t make use of those.

What we use is the core subset of svn:* properties. The umcpropfix tool is used by the project staff to update and fix properties according to our rules, but we recommend setting up your SVN client to set them automatically when adding files to save us time and commits, whenever possible.

Client config

The following is the recommended configuration for the command-line based SVN client. You may need to create the config file for your client if it doesn’t exist already, or merge the following lines into it.

This configuration is also applicable to TortoiseSVN — just go to the application’s settings, General section, and click on the Edit button in the “Subversion configuration file” section.

The location of the Subversion config files varies by platform. See Runtime Configuration Area in the SVN book for details.

enable-auto-props = yes

*.cfg = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.wav = svn:mime-type=audio/x-wav
*.ogg = svn:mime-type=application/ogg
Generated in 0 seconds.
This page was last modified on Tue Mar 27 07:50:02 CEST 2018.