svn auto-props

My Tip of the day…

I finally found out how to use Svn auto-props today. These are very nice. You can set a given property based on a files extension or filename pattern. This allows for doing things like:

[auto-props]
*.py = svn:keywords=Author Date Id Revision

This means I don’t have to keep adding svn keywords on every file I add. It just gets turned on for all python files I add to svn. These properties are set in the svn config file on the client, so every client can have their own settings. Very handy.

Leave a Reply