Try as I might, I cannot get VisualSVN auto-props to work.  I created
a file called 'config' in C:\Documents and Settings\All Users
\Application Data\Subversion which include the relevant file masks,
etc (see below).  I then restarted the SVN service.  From another PC,
running MS Visual Studio 2008 with the AnkhSVN plugin, I add a
new .cpp file to an existing SVN project that includes // $Id$ at the
top.  I add this file to the repository by the $Id$ text is not
expanded.  Changing the file contents and doing a commit doesn't help.

Getting this to work seems to be black magic, and I see other posts
here from users that have had the problem, but I cannot see what I
doing wrong.

If I edit an individual files properties to include svn:keywords, then
it works as expected.

Any advice welcome.  I am running VisualSVN Server Manager v1.6.1.

Here is the config file I am using:

[miscellany]
enable-auto-props = yes

[auto-props]
*.cpp = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.hpp = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.rc = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.rc2 = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.cc = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.c = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.h = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.wsf = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.js = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.htm = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.html = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision
*.css = svn:eol-style=native;svn:keywords=Author Date Id HeadURL
Revision

Reply via email to