Hi!

Thank you for using VisualSVN Server!

Automatic property settings work only on the Subversion clients side,
so you should configure auto-props on the clients PC, not on the
server.

For further details please consider Subversion documentation:
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html#svn.advanced.props.auto
http://svnbook.red-bean.com/en/1.5/svn.advanced.confarea.html
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html#svn.advanced.props.special.keywords


Also you could create a hook on the server to check if the
svn:keywords property exists.

On Wed, Nov 26, 2008 at 12:25 PM, Rob Caldecott
<[EMAIL PROTECTED]> wrote:
>
> 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
>



-- 
Olga Dolidze
VisualSVN Support
  • Config woes Rob Caldecott
    • Re: Config woes VisualSVN Support

Reply via email to