subversion: keyword substitution registry entries
To get automatic keyword substitution set for files as you add them you have to setup your client machine. I figured this out a while back, but as I setup TortoiseSvn on a new machine I forgot all about it.
Here's the registry hive you need:
Here's the registry hive you need:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Tigris.org]
[HKEY_LOCAL_MACHINE\SOFTWARE\Tigris.org\Subversion]
"Version"="1.2.3"
"Revision"="15833"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tigris.org\Subversion\Config]
[HKEY_LOCAL_MACHINE\SOFTWARE\Tigris.org\Subversion\Config\auto-props]
"*.doc"="svn:mime-type=application/msword"
"*.xls"="svn:mime-type=application/msexcel"
"*.ppt"="svn:mime-type=application/mspowerpoint"
"*.pdf"="svn:mime-type=application/pdf"
"*.png"="svn:mime-type=image/png"
"*.jpg"="svn:mime-type=image/jpeg"
"*.c"="svn:keywords=ID URL LastChangedRevision LastChangedBy"
"*.h"="svn:keywords=ID URL LastChangedRevision LastChangedBy"
"*.cpp"="svn:keywords=ID URL LastChangedRevision LastChangedBy"
"*.hpp"="svn:keywords=ID URL LastChangedRevision LastChangedBy"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tigris.org\Subversion\Config\Miscellany]
"enable-auto-props"="yes"
Labels: svn
0 Comments:
Post a Comment
<< Home