[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Using keywords (id, name, date, etc)

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 29 Feb 2008 07:21:41 -0500

On Fri, Feb 29, 2008 at 6:54 AM, Robert Jonker <robert_at_davdigital.com> wrote:
>
>
>
>
> Hello everyone,
>
>
>
> I have some trouble getting the keywords in SVN to work. What I would like
> is that keywords like these get translated: $Id$, $Date$, etc..
>
>
>
> I have used this wiki: http://wiki.apache.org/commons/UsingSVN.
>
> I have updated my Subversion config at the location mentioned in the wiki.
> This is what I changed in my config:
>
>
>
> enable-auto-props = yes (just removed the comment at the start of the line)
>
>
>
> *.php = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
> (<= I added this line at the bottom of the file).
>
>
>
> Now when I add this in my files it does not get translated (like I was used
> to in CVS)
>
>
>
> <?php
>
> /**
>
> * $Id$
>
> * $Date$
>
> */
>
> ?>
>
>
>
> What do I do wrong? Do I need to configure my SVN server as well? I hope
> someone can point me in the right direction.

Auto-props only get applied to newly-added/imported files. On existing
files, you need to set the svn:keywords property yourself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-29 13:21:49 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.