[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

http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_apply_autoprops.py

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/
---------------------------------------------------------------------
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.