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

Re: Auto-prop not working?

From: Michael W Thelen <mike_at_pietdepsi.com>
Date: 2005-04-15 18:36:17 CEST

Michael L Brown wrote:
> The /etc/subversion/config file contains the following:
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> * = svn:keywords=Id
> * = svn:keywords=LastChangedDate
> * = svn:keywords=Date
> * = svn:keywords=LastChangedRevision
> * = svn:keywords=Rev
> * = svn:keywords=LastChangedBy
> * = svn:keywords=Author
> * = svn:keywords=HeadURL
> * = svn:keywords=URL

If you run "svn proplist -v" on any file you've imported, you'll find
that the svn:keywords property contains only "URL". Each of the lines
above is taken separately, and the last one overrides the others. To
get what you want, do something like this instead:

* = svn:keywords=Id LastChangedDate Date LastChangedRevision

... etc, with everything on a single line separated by spaces. No
quotes are necessary.

Of course, now that everything is already imported into the repository,
those properties will have to be set manually... auto-props only applies
to files as they are newly added. If you're on Linux, I have written a
Perl script that should be able to do that (I just haven't tested in on
Windows). Hope this helps.


Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams

Received on Fri Apr 15 18:38:51 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.