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

Keywords $LastChangedDate$ and $Id$ didn't work

From: Brad Rhoads <brhoads_at_zethcon.com>
Date: 2004-07-15 06:45:43 CEST

 
After following the recent threads, I finally see the relationship between
the config file and keyword substitution (and the global-ignores). The
config file only relates to the clients and should be kept in sync.

I made these changes to my config:

### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output.
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.exe
 . . .
enable-auto-props = yes

. . .

[auto-props]

. . .

*.* = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy
HeadURL Id"

I created a new file, added the keywords and did a commit. And it patly
worked. I ended up with:

/*
 * $LastChangedDate$
 * $LastChangedRevision: 40 $
 * $LastChangedBy: brad $
 * $HeadURL:
file:///D:/svnroot/synapse/websynapse/trunk/WEB-INF/classes/com/monolith/web
app/Constants_1.java $
 * $Id$
 */

But $LastChangedDate$ and $Id$ didn't work. Doesn't the auto-props apply to
them? Do I have a typo? Something else?

I'm using 1.0.5, Win 2003 server, XP client (TortoiseSVN).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 15 06:46:00 2004

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.