[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: Robert Jonker <robert_at_davdigital.com>
Date: Fri, 29 Feb 2008 16:34:22 +0100

Hello Andy,

Thank you for your reply. That worked and solved the problem.
Have a nice weekend!

Cheers,
Robert

-----Oorspronkelijk bericht-----
Van: Andy Levy [mailto:andy.levy_at_gmail.com]
Verzonden: Friday, February 29, 2008 1:22 PM
Aan: users_at_tortoisesvn.tigris.org
Onderwerp: Re: Using keywords (id, name, date, etc)

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

---------------------------------------------------------------------
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 16:32:50 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.