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

Re: enable-auto-props does not work for svn:keywords

From: Blair Zajac <blair_at_orcaware.com>
Date: 2005-07-27 05:59:05 CEST

Joseph Turian wrote:
> Dear Subversion community,
> I cannot get enable-auto-props to work.
> Specifically, I would like svn:keywords="Id Date Author Revision
> LastChangedDate" on EVERY file.
> The short version of the question is:
> What do I need to do to get svn:keywords auto-prop to update the $Id$
> text of files already checked-in to the repository?
> Details:
> Here is my .subversion/config file:
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> * = svn:keywords=Id Date Author Revision LastChangedDate
> Now, there's file "foo" that's already in the repository, and this file
> contains just:
> $Id$
> [EOF]
> If I remove the file and then do an 'svn update', it pulls 'foo' from
> the repository but does not update the $Id$ text.
> If I add a blank line to the file and commit it, the $Id$ text still
> remains unchanged.
> How can I get the $Id$ text to expand given my auto-props?
> I have tried changing my config file such that the keywords list is
> quoted and unquoted, neither works.
> Thank you for any help you can offer
> Joseph

Just last week I wrote a Python script that applies to matching files and directories in your working copy the properties listed in your $HOME/.subversion/config file.

You can find the script at



Blair Zajac, Ph.D.
Subversion and Orca training and consulting
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 27 06:01:19 2005

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.