How to set Author for SVN

streetparade picture streetparade · Jan 21, 2010 · Viewed 9.7k times · Source

How can i set the author in svn? i use smart svn?

Answer

Michał Niklas picture Michał Niklas · Jan 21, 2010

I think you want to see author in file properties. Is it right? I don't know how to do it in smart svn while I use command line or TortoiseSVN.

In Windows with TortoiseSVN use file context menu and click on file properties. There is "Subversion" tab. In this tab you can add properties. To add author you should add"

property name=svn:keywords
property value=Author Date Id Revision

If you want to add such property to all files you add to repository then look at your Subversion config file: c:\Documents and Settings\[user]\[AppData]\Subversion\config

there is auto-props section and set it to:

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

(this works only for new files that you add to repository).

There is documentation of svn file properties