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

How to get keywords to work?

From: Bill Williams <billwilliams_at_qcsoftware.com>
Date: 2006-01-06 15:13:12 CET

I am using subversion 1.3.0.

I am trying to have the keyword "Id" substituted in my source code files.

I have the anchor $Id$ in my comment block.

I have the auto property svn:keywords being set. Here is the entry from
my config file:

[auto-props]

*.sh = svn:eol-style=native;svn:executable;svn:keywords="Id"
*.c = svn:eol-style=native;svn:keywords="Id"
*.h = svn:eol-style=native;svn:keywords="Id"
*.java = svn:eol-style=native;svn:keywords="Id"
*.stp = svn:eol-style=native;svn:keywords="Id"
*.sql = svn:eol-style=native;svn:keywords="Id"
*.trg = svn:eol-style=native;svn:keywords="Id"
makefile = svn:eol-style=native;svn:keywords="Id"
Makefile = svn:eol-style=native;svn:keywords="Id"
*.pdm = svn:needs-lock=yes
*.doc = svn:needs-lock=yes

This configuration was used when I first imported my code into the
repository.

In TortoiseSVN, I can see the property as being set: svn:keywords "Id"

When I checkout the code, the keyword is not being substituted. It is
staying $Id$. I have made changes and committed them and the keyword is
still not substituted.

I have read the documentation several times. I'm sure I'm doing
something wrong, but I cannot figure out what it is.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 15:16:01 2006

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

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