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

Re: Weird auto-props behavior

From: Kris Deugau <kdeugau_at_vianet.ca>
Date: 2006-04-18 17:42:49 CEST

Cabanero, Christian wrote:
> I've been observing some strage behavior with use of auto-props,
> specifically for keyword expansion. In my ~/.subversion/config file I
> have the following:
>
> [miscellany]
> enable-auto-props = yes
>
> [auto-props]
> *.java = svn:keywords="Id Date Author Revision LastChangedDate"
>
> All of the keywords now work for java files *except* for Id. In my file
> I have the text $Id$ expecting it to expand but it does not. All the
> other keywords do work however.

Date and LastChangedDate are effectively the same, IIRC. If you removed
  Date, you'd see LastChangedDate fail as well.

The problem is with the quotes you have there; the autoprops entry
should read:

*.java = svn:keywords=Id Date Author Revision LastChangedDate

Otherwise svn is looking for keywords named:

"Id
Date
Author
Revision
LastChangedDate"

(note how the quotes get pulled into the "real" keywords).

-kgd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 18 17:45:04 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.